Hello,

is there a way to effect the default relevance sort so as to include a 
secondary sort? I added the sort-order to the options node, but it only becomes 
active when selecting from the sort menu--it does not appear to be applied when 
the results are initially served up. Can this be patched into Search API or 
should I be looking to customize the JavaScript results widget?

<search:operator name="sort">
    <search:state name="relevance">
      <search:sort-order>
        <search:score/>
      </search:sort-order>
      <search:sort-order direction="ascending" type="xs:string" 
collation="http://marklogic.com/collation/";>
        <search:element ns="http://rotunda.upress.virginia.edu/pfe"; 
name="fullname"/>
      </search:sort-order>
    </search:state>
[...]

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

Reply via email to