Re: document ids in "cached" in Hits and index merge

2005-06-25 Thread Robert Newson
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

Re: indexing values which might be null

2005-06-21 Thread Robert Newson
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

Re: mutiple index question

2005-05-20 Thread Robert Newson
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