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

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

bq. Hang on - if the value carries over to the new segment (and you set subord 
to 0) then you don't need to add those ords to the double lists? 

What was actually happening: I noticed it wasn't quite working right after 
switching ords to ints from double, and I realized the problem was that there 
was always going to be a collision for the sort list, whereas before, there was 
only a sortable collision when more than one mapped-from ord collided. So I 
thought that out wrong and figured you needed to sort the current ord as well, 
but in fact, of course you don't: I just needed to assume there is always a 
collision that adds to the sort list, not wait for 2 mapped-from ords to 
collide.

> Change IndexSearcher to use MultiSearcher semantics for multiple subreaders
> ---------------------------------------------------------------------------
>
>                 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, LUCENE-1483.patch, 
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, 
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, 
> LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch
>
>
> FieldCache and Filters are forced down to a single segment reader, allowing 
> for individual segment reloading on reopen.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to