lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (LUCENE-1483) Change IndexSearcher to use MultiSearcher semantics for sorted searches
Date Wed, 10 Dec 2008 02:16:44 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655048#action_12655048
] 

markrmiller@gmail.com edited comment on LUCENE-1483 at 12/9/08 6:15 PM:
--------------------------------------------------------------

Doing a little profiling on the new code and off the top results of interest are:

FieldSortedHitQueue.lessThan(object,object) approx 12%
FieldSortedHitQueue.insertWIthOverflow(object) approx 12%
MultiReaderTopFieldDocCollector.collect(int,float) 6.3%
FieldSortedHitQueue$4.compare() 5.3 %

and on...


For Lucene trunk, a day or two ago:

FieldSortedHitQueue.insertWIthOverflow(object) approx 11%
TopFieldDocCollector.collect(int,float) 7.1%
FieldSortedHitQueue.lessThan(object,object) approx 6.7%
FieldSortedHitQueue.updateMaxScore 3.2%
FieldSortedHitQueue$4.compare() 3.2 %


      was (Author: markrmiller@gmail.com):
    Doing a little profiling on the new code and off the top results of interest are:

FieldSortedHitQueue.lessThan(object,object) approx 12%
FieldSortedHitQueue.insertWIthOverflow(object) approx 12%
MultiReaderTopFieldDocCollector.collect(int,float) 6.3%
FieldSortedHitQueue$4.compare() 5.3 %

and on...


  
> Change IndexSearcher to use MultiSearcher semantics for sorted searches
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-1483
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1483
>             Project: Lucene - Java
>          Issue Type: Improvement
>    Affects Versions: 2.9
>            Reporter: Mark Miller
>            Priority: Minor
>         Attachments: LUCENE-1483.patch, LUCENE-1483.patch
>
>
> Here is a quick test patch. FieldCache for sorting is done at the individual IndexReader
level and reloading the fieldcache on reopen can be much faster as only changed segments need
to be reloaded.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message