Re: PhraseQuery in BooleanQuery not working properly in 2.9.0

2009-10-14 Thread Ion Barcan
Yes, the fix in src/java/org/apache/lucene/search/Scorer.java solves my problem, i.e. the queries return the correct number of results. On Wed, Oct 14, 2009 at 12:29 PM, Michael McCandless wrote: > It sounds likely that this is > https://issues.apache.org/jira/browse/LUCENE-1974 > > Is it possib

Re: PhraseQuery in BooleanQuery not working properly in 2.9.0

2009-10-14 Thread Michael McCandless
It sounds likely that this is https://issues.apache.org/jira/browse/LUCENE-1974 Is it possible for you to test that patch and verify it resolves your problem? Mike On Tue, Oct 13, 2009 at 9:23 AM, Ion Barcan wrote: > Hello, > > With the new Lucene 2.9.0 (on a newly built index of approx. 30 > m

Re: PhraseQuery in BooleanQuery not working properly in 2.9.0

2009-10-13 Thread Chris Hostetter
: With the new Lucene 2.9.0 (on a newly built index of approx. 30 : million documents) running BooleanQueries containing PhraseQuery does : not work properly. I've verified this on both optimized and : unoptimized index versions. I suspect that this is the same problem as identified in LUCENE-197

PhraseQuery in BooleanQuery not working properly in 2.9.0

2009-10-13 Thread Ion Barcan
Hello, With the new Lucene 2.9.0 (on a newly built index of approx. 30 million documents) running BooleanQueries containing PhraseQuery does not work properly. I've verified this on both optimized and unoptimized index versions. For example: lucli> count field1:"john doe" Searching for: field1:"