Dear All
(Collection wise facet)
I am using search:resolve API for searching the documents in two different
collections using collection-query.I need the facets which also have the
information of collection the document belongs.For eg. let I uploaded 2
documents DOC1 and DOC2 in collections COL1 and COL2 respectively..Both
the document have <city> node over which I created my range constraint.
now my result requires the collection information too.
LIKE
Actual result :
<search:facet name="city">
<search:facet-value name="IL" count="1">IL</search:facet-value>
<search:facet-value name="LA" count="1">LA</search:facet-value>
<search:facet-value name="MI" count="1">MI</search:facet-value>
</search:facet>
Expected result
(with this result the info of collection.)
<search:facet name="city" collectionName= "COL1">
<search:facet-value name="LA" count="1">LA</search:facet-value>
<search:facet-value name="MI" count="1">MI</search:facet-value>
</search:facet>
<search:facet name="city" collectionName= "COL2">
<search:facet-value name="IL"
count="1">IL</search:facet-value>
</search:facet>
Please help.Thanks in advance
Santhosh Rajasekaran
Tata Consultancy Services
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general