Hi
Does Lucene provide any API to fetch documents for which a field is not
defined.
Example
Document1 : field1=value1, field2=value2,field3=value3
Document2 : field1=value4, field2=value4
I want a query to get documents for which field3 is not defined. In example
it should return Document2.
Reg
Hi "sc",
I suspect you are hitting OOM for makeDistanceValueSource call on
RecursivePrefixTreeStrategy. That strategy is best for filtering (the
query), but it's a memory pig for distance sorting requirements. Instead,
use PointVectorStrategy for the makeDistanceValueSource purpose. For that
str
Hi,
Thanks for your suggestions that worked perfectly.
But unfortunately our current application is still using JDK 1.7 and it
would take a while to move to JDK 1.8. So I started using older version of
Lucene 5.5.4 which supports 1.7, but its not working smoothly. I must be
doing something wro
Looks like your screenshot didn't make it, but never mind: I'm sure we all
know what text files look like.
A join on two ID fields sounds more like SQL database territory rather than
lucene. Lucene is not an SQL database. But I typed "lucene join" into a
well known search engine and the top hit
Hi all,
If I store my time fields via DateTools, then I can use
StandardQueryParser's range syntax for specifing date range:
someField:[20170314 TO 20170922]
, but unfortunately this is not date format that I want to present to my
users. I examined parser API a bit, and the only thing I can