[MarkLogic Dev General] Sort on last-modified property with search API

2012-12-09 Thread Stephane Toussaint
Hi all, I was looking if I had any chance to order a result based on the last-modified property. The point is that it doesn't seem to be a possible use case currently, but I just figure out a facet generation based on the same property from the search:search documentation. options

[MarkLogic Dev General] XQYSP and parenthesis precedence

2012-12-09 Thread Abhishek53 S
Hi All, As per my understanding XQYSP completely ignores parenthesis [Applying precedence to query] so all the query will be parsed from left to right precedence. Do we have any suggestion on how/where to change query to consider parenthesis as precedence. Thanks in advance!!! Abhishek

Re: [MarkLogic Dev General] XQYSP and parenthesis precedence

2012-12-09 Thread Michael Blakeley
Where did you get that understanding? https://github.com/mblakele/xqysp mentions groups and shows parens as part of the grammar. Recently I needed to parse a fairly sophisticated search syntax for a project. I needed a pure XQuery solution, and MarkLogic's built-in search API wouldn't