Re: Error using multireader searcher in Lucene 2.9

2009-10-02 Thread Mark Miller
Sorry Raf - technically your not allowed to use internal Lucene id's that way. It happened to work in the past if you didn't use MultiSearcher, but its not promised by the API, and no longer works as you'd expect in 2.9. You have to figure out another approach that doesn't use the internal ids (eg

Re: Error using multireader searcher in Lucene 2.9

2009-10-02 Thread Yonik Seeley
On Fri, Oct 2, 2009 at 7:09 AM, Raf wrote: > Hello, > I have tried to switch my application from Lucene 2.4.1 to Lucene 2.9, but I > have found a problem. > My searcher uses a MultiReader and, when I try to do a search using a custom > filter based on a bitset, it does not behave as it did in Luce

Error using multireader searcher in Lucene 2.9

2009-10-02 Thread Raf
Hello, I have tried to switch my application from Lucene 2.4.1 to Lucene 2.9, but I have found a problem. My searcher uses a MultiReader and, when I try to do a search using a custom filter based on a bitset, it does not behave as it did in Lucene 2.4. It looks like the new searcher does not use th