Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev
[jira] Commented: (LUCENE-443) ConjunctionScorer tune-up
 

Index | Next | Previous | View Flat


jira at apache

Dec 27, 2005, 11:49 AM


Views: 324
Permalink
[jira] Commented: (LUCENE-443) ConjunctionScorer tune-up

[ http://issues.apache.org/jira/browse/LUCENE-443?page=comments#action_12361284 ]

Yonik Seeley commented on LUCENE-443:
-------------------------------------

It seems like more cruft could be removed if support for incremental adding of subscorers was removed.
Is there a reason we can't simplify things and just pass Collection<Scorer> in the constructor?



> ConjunctionScorer tune-up
> -------------------------
>
> Key: LUCENE-443
> URL: http://issues.apache.org/jira/browse/LUCENE-443
> Project: Lucene - Java
> Type: Bug
> Components: Search
> Versions: 1.9
> Environment: Linux, Java 1.5, Large Index with 4 million items and some heavily nested boolean queries
> Reporter: Abdul Chaudhry
> Attachments: ConjunctionScorer.java, ConjunctionScorer.java
>
> I just recently ran a load test on the latest code from lucene , which is using a new BooleanScore and noticed the ConjunctionScorer was crunching through objects , especially while sorting as part of the skipTo call. It turns a linked list into an array, sorts the array, then converts the array back to a linked list for further processing by the scoring engines below.
> 'm not sure if anyone else is experiencing this as I have a very large index (> 4 million items) and I am issuing some heavily nested queries
> Anyway, I decide to change the link list into an array and use a first and last marker to "simulate" a linked list.
> This scaled much better during my load test as the java gargbage collector was less - umm - virulent

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Subject User Time
[jira] Commented: (LUCENE-443) ConjunctionScorer tune-up jira at apache Dec 27, 2005, 11:49 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.