[MarkLogic Dev General] How to use near query in search:search function

Colleen Whitney Colleen.Whitney at marklogic.com
Tue Jan 3 09:17:54 PST 2012


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" <mgrau at grupojoly.com<mailto:mgrau at grupojoly.com>> wrote:

Hi,

Is there any operator in search:search function for to run near-query searchs?

Regards,

Mariano Grau
mgrau @ <http://grupojoly.com> grupojoly.com<http://grupojoly.com>
Dpto. Sistemas
Grupo Joly

_______________________________________________
General mailing list
General at developer.marklogic.com<mailto:General at developer.marklogic.com>
http://developer.marklogic.com/mailman/listinfo/general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120103/ef6daa68/attachment.html 


More information about the General mailing list