Hi Pradeep, Check out section 2.2.6.1 of Search Developer's Guide: max-snippet-chars and preferred-elements child elements of the transform-results options node should address those requirements.
Best, Shannon On Jun 9, 2010, at 10:48 AM, Pradeep Maddireddy wrote: > Hi..! > > I always want atleast 300 to 400 char of snippet to be returned by > the search API. > Is there any setting that would help me get 300 to 400 char of snippet. > > Most of the times when the hit is aginst a title or author element > only that particular element is being returned as snippet, this will > not be enough text to be displayed in the search results screen. > > > Thanks > Pradeep Maddireddy > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
