Hi All,

I'm performing a search:resolve operation on a query with options which
include a collection constraint as below.

<search:constraint name="provider">
    <search:collection prefix="/provider/" facet="true">
      <search:facet-option>frequency-order</search:facet-option>
      <search:facet-option>limit=10</search:facet-option>
    </search:collection>
    <search:annotation><proj:front-page xmlns:proj="
http://marklogic.com/appservices/project"/><proj:side-bar xmlns:proj="
http://marklogic.com/appservices/project
">true</proj:side-bar></search:annotation>
</search:constraint>


How do I get the search:metadata for the collection "provider"?
I have included the below node in the options.
<search:extract-metadata>
  <search:constraint-value ref="provider"/>
</search:extract-metadata>

I get the result with all the collection details that exist for the search
doc.

Thanks,
Sini
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to