Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Peter Keegan
> http://svn.apache.org/viewvc?view=rev&revision=630698 This may be it. The scorer is sparse and usually in a conjuction with a dense scorer. Does the index format matter? I haven't yet built it with 2.9. Peter On Wed, Sep 9, 2009 at 10:17 AM, Yonik Seeley wrote: > On Wed, Sep 9, 2009 at 9:40 AM

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Peter Keegan
>Is it possible that skipTo is very costly with your custom scorer? It's no more expensive than 'next'. The scorer's 'skipTo' and 'next' methods call termdocs.skipTo or termdocs.next to get the next 'candidate' doc. This just checks a BitVector to find the next non-deleted doc. But the scorer mus

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Yonik Seeley
On Wed, Sep 9, 2009 at 9:40 AM, Peter Keegan wrote: > IndexSearcher.search is calling my custom scorer's 'next' and 'doc' methods > 64% fewer times. I see no 'advance' method in any of the hot spots'. I am > getting the same number of hits from the custom scorer. > Has the BooleanScorer2 logic chan

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Michael McCandless
Right, BooleanQuery will now try to use BooleanScorer (does "out of order" collection, which does not use skipTo/advance at all, I think) when possible, instead of BooleanScorer2. This only applies for boolean queries that have only SHOULD clauses, and up to 32 MUST_NOT clauses (if there's even 1

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Mark Miller
How about the new score inorder/out of order stuff? It was an option before, but I think now it uses whats best by default? And pairs with the collector? I didn't follow any of that closely though. - Mark Peter Keegan wrote: > IndexSearcher.search is calling my custom scorer's 'next' and 'doc' me

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Peter Keegan
IndexSearcher.search is calling my custom scorer's 'next' and 'doc' methods 64% fewer times. I see no 'advance' method in any of the hot spots'. I am getting the same number of hits from the custom scorer. Has the BooleanScorer2 logic changed? Peter On Wed, Sep 9, 2009 at 9:17 AM, Yonik Seeley <

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Yonik Seeley
On Wed, Sep 9, 2009 at 9:17 AM, Yonik Seeley wrote: > On Wed, Sep 9, 2009 at 8:57 AM, Peter Keegan wrote: >> Using JProfiler, I observe that the improvement >> is due to a huge reduction in the number of calls to TermDocs.next and >> TermDocs.skipTo (about 65% fewer calls). > > Indexes are searched

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Yonik Seeley
On Wed, Sep 9, 2009 at 8:57 AM, Peter Keegan wrote: > Using JProfiler, I observe that the improvement > is due to a huge reduction in the number of calls to TermDocs.next and > TermDocs.skipTo (about 65% fewer calls). Indexes are searched per-segment now (i.e. MultiTermDocs isn't normally used). O

Re: Lucene 2.9 RC2 now available for testing

2009-09-09 Thread Peter Keegan
I've been testing 2.9 RC2 lately and comparing query performance to 2.3.2. I'm seeing a huge increase in throughput (2x-10x) on an index that was built with 2.3.2. The queries have a lot of BoostingTermQuerys and boolean clauses containing a custom scorer. Using JProfiler, I observe that the improv

Re: Lucene 2.9 RC2 now available for testing

2009-09-07 Thread Marcelo Ochoa
Hi All: I am already have integrated Lucene 2.9RC2 with Lucene Domain Index: http://docs.google.com/Doc?id=ddgw7sjp_54fgj9kg As usual, a new Lucene version do a fastest product :) All my internal test runs OK and I only need to re-test on 10g database. Once Lucene 2.9 is ready for produ

Re: Lucene 2.9 RC2 now available for testing

2009-08-28 Thread Mark Miller
Mark Miller wrote: > > Download release candidate 1 here: > http://people.apache.org/~markrmiller/staging-area/lucene2.9rc2/ > In case anyone catches - yes that is a cut and paste typo - should read release candidate 2 (obvious, but just to cross my t's). -- - Mark http://www.lucidimagination.co