lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-user] Lucy Benchmarking
Date Thu, 09 Feb 2017 18:21:10 GMT
>
>
>    - 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message