[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657281#action_12657281
]
Mark Miller commented on LUCENE-1483:
-------------------------------------
bq. and then seg 2 has just apple & orange, then banana should map to ord 0
subord 1, meaning it's between ord 0 & 1, I think?
apple -> 0
orange ->1
the binary search gives back -insertionpoint - 1, the insertion point for
banana is 1, so -1 -1 = -2. So I reverse that and subtract 2 to get 0 right? It
lands on apple. Then on sort, apple comes first for 0, 1 and then orange is 0,
2.
(I dont remember off hand why subord has to start at 1 not 0, but i remember it
didnt work otherwise)
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]