Re: Using TermVectorMapper to compute term frequency across documents

2009-10-14 Thread Grant Ingersoll
On Oct 12, 2009, at 10:46 PM, Thomas D'Silva wrote: Hi, I am trying to compute the counts of terms of the documents returned by running a query using a TermVectorMapper. I was wondering if anyone knew if there was a faster way to do this rather than using a HashMap with a TermVectorMapper

Big Bad Bug in Lucene 2.9.0

2009-10-14 Thread Michael McCandless
Team, There is a nasty bug in 2.9.0, whereby BooleanQuery will sometimes silently fail to match possibly many documents that it should. Details are here: https://issues.apache.org/jira/browse/LUCENE-1974 Fortunately, there is a very simple workaround: just call BooleanQuery.setAllowDocsOutOf

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