I've read this a lot in this group, the term "facet". I think I know what a facet is in terms of xmlschema
http://www.w3.org/TR/xmlschema-2/#facets "[Definition:] A facet is a single defining aspect of a *value space*. Generally speaking, each facet characterizes a *value space* along independent axes or dimensions." But when used in terms of MarkLogic does it have a different meaning ? If so where can I go to learn about it. Thanks for any advise. -David -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Pradeep Maddireddy Sent: Friday, April 23, 2010 12:09 PM To: General Mark Logic Developer Discussion; [email protected] Subject: Re: [MarkLogic Dev General] Search API 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 _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
