[jira] Updated: (LUCENE-1483) Change IndexSearcher to use MultiSearcher semantics for multiple subreaders
Mark Miller (JIRA <jira <at> apache.org>
2009-01-01 22:27:44 GMT
[
https://issues.apache.org/jira/browse/LUCENE-1483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Miller updated LUCENE-1483:
--------------------------------
Attachment: LUCENE-1483.patch
Still pretty ugly, but this patch has a working ord I think, allows readers in any order (giving largest to
smallest now), and has a hackey ComparatorPolicy that can alter the comparators being used. Right now
there is an ugly little one for ORD that switches to ORD_DEM after the first segment. The rest just use the
same comparator throughout.
Also added something we may take out - an option to not fill fields (which we cant use for back compat, but a
user could). If you are not using a MultiSearcher, its kind of a waste of time to fill fields.
Much to do, but fully functional I think.
> 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, LUCENE-1483.patch,
LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch, LUCENE-1483.patch,
LUCENE-1483.patch, sortBench.py, sortCollate.py
>
>
> 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.