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

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

Some more quick comments:

the StringIndex value version does two much array derefing, so I'd fix that, or 
just use the String version.

I'm dong ordinals by keeping a second Double subord array. Everytime ords are 
mapped to the new IndexReader, if an ord doesnt map directly onto the new terms 
array, if the subord is not 0, I multiply the old ord mapping into the sub ord 
and give it the new ord eg the subord becomes the old ord times the current 
subord and the ord is updated. When comparing, if two ords are the same, we 
drop to the subord.

I havn't though about precision issues (it prob doesn't work, but I don't 
know), but it works for the tests.

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