Hi All,
I have a lot of docs, each with one or more author elements. Is there an
easy way to tell search:search() to only look at the first author
element when returning search results ordered by author? Here's what my
sort operator looks like in the options node.
<operator name="sort">
<state name="author">
<sort-order direction="ascending" type="xs:string"
collation="http://marklogic.com/collation/">
<element ns="my-ns" name="author"/>
</sort-order>
</state>
</operator>
Best,
Tim Finney
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general