>
>
>    - vary relationship of terms (e.g., proximity)
>>       - How to do it? Is there an operator like NEAR?
>>
>
> There's ProximityQuery but I'm not sure how it works:
>
>     http://lucy.apache.org/docs/c/LucyX/Search/ProximityQuery.html
>
>

​You can see one example of ProximityQuery usage here (Perl)

https://metacpan.org/source/KARMAN/Search-Query-Dialect-Lucy-0.202/lib/Search/Query/Dialect/Lucy.pm#L701

Of note:

* `within` is like NEAR - it takes an integer argument
* order of terms is respected. It's like a phrase​



-- 
Peter Karman . https://peknet.com/ <http://peknet.com/> .
https://keybase.io/peterkarman

Reply via email to