Hi Collen, Sorry to bother you again.
<book> <title>Book Title</title> <chapter> <title>Chapter Title</title> </chapter> </book> As you suggested for my previous mail I created a Database Field which includes book and excludes chapter to be able to search on Book title alone and to exclude Chapter title for the search API. I also needed a Facet on booktitle, looks like I may have to change the XMl structure or else include a namespace. Could you Please confirm. Thanks Pradeep Maddireddy On 4/23/10, Colleen Whitney <[email protected]> wrote: > Pradeep, range indexes are required for facets in the search API, for > performance and scalability. > > --Colleen > ________________________________________ > From: [email protected] > [[email protected]] On Behalf Of Pradeep Maddireddy > [[email protected]] > Sent: Friday, April 23, 2010 8:03 AM > To: General > Subject: [MarkLogic Dev General] Search API > > Hi...! > > If the search API has to return facets, is it mandatory to build a > range index for that element. Is it possible for the search API to use > a Database field or XPath instead of a simple element and return > facets for the Database field or XPath. > > Thanks > Pradeep Maddireddy > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
