I believe you can add options="ordered" to the <joiner> element here.
-m On Apr 16, 2012, at 12:14 PM, Steiner, David J. (LNG-DAY) wrote: Is there a way to specify “ordered”? I see: <joiner strength="30" apply="near2" consume="2" element="cts:near-query">NEAR/</joiner>” And “near2”s implementation… So, would I actually have to add a similar block if I wanted to get “ordered” to happen? From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Colleen Whitney Sent: Tuesday, January 03, 2012 12:18 PM To: General MarkLogic Developer Discussion Cc: [email protected]<mailto:[email protected]> Subject: Re: [MarkLogic Dev General] How to use near query in search:search function Mariano, starting with version 4.2 there are two near query operators built in: NEAR and NEAR/# (where # is a distance). So "dog NEAR cat" parses to a near query with the default distance (10), and "dog NEAR/2 cat" parses to a near query with a distance of 2. Sent from my iPhone On Jan 3, 2012, at 6:07 AM, "Mariano Grau Calín" <[email protected]<mailto:[email protected]>> wrote: Hi, Is there any operator in search:search function for to run near-query searchs? Regards, Mariano Grau mgrau @ grupojoly.com<http://grupojoly.com> Dpto. Sistemas Grupo Joly _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected]<mailto:[email protected]> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
