Hi,
I'm using search:search in my application where I have documents
stored in following structure
<record>
<title> Some Title </title>
<sectionList>
<section>Section1</section>
<section>Section2</section>
</sectionList>
</record>
There is a path range index created for /record/sectionList/section[1]
and a constraint added in search:search options.
<constraint name="SectionFilt">
<range type="xs:string" facet="false">
<path-index>/record/sectionList/section[1]</path-index>
{$webm:QUERY-OPTIONS}
</range>
</constraint>
When I perform a Path-Range-Query using search:search with Title
element sort the sorting is not working whereas when i remove the path
range query from the constraint the sort works.
query=(SectionFilt:"about") sort:custom_sort
The same code in ML 6 works perfectly. Is there a change in ML7 in the
way it handles sorting for path range queries?
Thanks,
Blessing
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general