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

Reply via email to