Thanks for the explanation. As a follow on question, based on this link: https://lucy.apache.org/docs/c/Lucy/Docs/FileFormat.html
(1) Why the cf.dat has a document section? (2) Why is it not compressed? I see most of the content of the books I have indexed being part of cf.dat file and can read the text as it is! Is this how the inverted indexing works? Thanks -Kasi On Thu, Feb 9, 2017 at 1:21 PM, Peter Karman <pe...@peknet.com> wrote: > > > > > > - 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 >