When using the Search API and using a sort operator such as this:

      <search:operator name="sort">
        <search:state name="name">
          <search:sort-order type="xs:string" 
collation="http://marklogic.com/collation//AS/T0020";>
            <search:element ns="http://example.com/ns"; name="name"/>
          </search:sort-order>
        </search:state>
        <!-- ... -->
      </search:operator>

is there a way to specify that documents with a missing or empty <name> element 
should occur *last* in the sorted search results? It appears that empty values 
occur at the top of the search results by default.

Thanks,
Greg

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

Reply via email to