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

Mark Miller commented on LUCENE-1483:
-------------------------------------

Ignore those first results entirely. It turns out I had the latest 1471 patched 
in. That shouldnt slow down a single segment though. Neither this or 1471 
should have slowed things down because they only affect multisegment and 
multiindex searches I thought. Odd, but I just junked all of that and started 
fresh, did the tests a little closer to right, and see the numbers looking the 
same. Didn't want to get too into benching before its sorted out a bit more.  
I'll try to get enough time to be more rigorous later though.  My free moments 
are under heavy attack by the female that appears to have made herself at home 
in my house.

As a side not, 1471 doesn't work in a couple ways with this patch - it throws 
both a nullpointer exception and a class cast exception in different 
circumstances.

> 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
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to