On Wed, May 28, 2008 at 5:36 AM, stefano coppi <[EMAIL PROTECTED]> wrote:
>  text: BB AA
> query: "AA BB"~0 why the result is false? Aren't BB AA contigous?
> result: false
>
>  text: BB AA
> query: "AA BB"~1
> result: false
>
>  text: BB AA
> query: "AA BB"~2 why with proximity=2 the result is true??
> result: true

Sloppy phrase queries are ordered, and the slop is the allowable edit
distance. So to get a match in your example, AA needs to move two
spaces to the left (a slop of 2).

Look at span queries if you need something unordered.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to