As long as you use the same Searcher object, you shouldn't see document
ids changing.
When you open a searcher you get a consistent view of the segments that
existed at the time. Merging creates new segments which you won't see
until you create a new searcher.
In short, retrieving hits whi
An approach I've used successfully is to add a separate field called
'empty' and include the names of other fields that are empty, e.g,
empty: subject
You can search for;
+empty:subject
for messages with empty (null) subjects.
This approach means you don't need to think of a magical value
Paul Elschot wrote:
On Friday 20 May 2005 13:58, Max Pfingsthorn wrote:
Hi!
I was wondering if Lucene has any sort of functionality to distribute
indices so that different fields are stored in separate indices but they
still refer to the same document. This would be great for a situation where
t