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

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

bq. Or, better, we could add a "subord" to break the tie. That subord'd have to 
be computed by gathering all String values that sorted to the same "odd ord" 
and sorting them to assign subords.

That seems like a bit or work to manage. What if I just kept a separate double 
subords that holds the old mapping? If two slots are equal, we can fall down to 
that? We would have the whole new array, but the other way we have to track 
what maps to the same index, sort that, and then have a map or another array 
anyway. What do we save? We could have an int[] rather than a double[]? But a 
lot more juggling...

> 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
>
>
> 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