I hope someone can provide me clue to how to do "multi word facet".
Thanks again! -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Shah, Mehul (LNG-NPV) Sent: Wednesday, October 06, 2010 1:50 PM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] facet with multiple words How do I construct facet with multi-words (or exact content) of an element or attribute? For example: Doc1- <doc>...<city>New York</city>...</doc> Doc2- <doc>...<city>Orlando</city>...</doc> Doc3- <doc>...<city>Old Bridge</city>...</doc> Doc4- <doc>...<city>word1 word2 word3</city>...</doc> ... Now I search a term, and that matched doc2 and doc3 along with many other docs. I would like to get facet information like this... [city name - (document hits for the search)] Orlando - (5) Old Bridge - (10) Thanks, Mehul. _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
