On Thu, Aug 27, 2015 at 11:29 AM, Martin Kucej <
i.librarian.software at gmail.com> wrote:

> On Thu, Aug 27, 2015 at 1:02 PM, Scott Hess <shess at google.com> wrote:
> > NEAR/0 will probably not care about ordering.
>
> Ah, yes. You are correct. This match expression:
>
> MATCH 'column:word1 NEAR/0 column:word2 NEAR/0 column:word3'
>
> matcher both "word1 word2 word3" and "word3 word2 word1" phrases. So,
> it is a no go.


Due to grammar rules, for most languages the query's given order will
probably dominate the results, so performance-wise it might be fine to
post-process using a sub-query or in the client code.  It will only really
lose if the reverse ordering is common relative to the intended ordering.

-scott

Reply via email to