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

Michael McCandless commented on LUCENE-1483:
--------------------------------------------

{quote}
> But if you are using the old one it wont work with the new Searcher methods? 
> I guess I'll have to think about it some more. 
{quote}

I think the search methods, on seeing that there is a SortField.CUSTOM type and 
then seeing that it's a SortComparatorSource in there, would fallback to the 
current impl, but all other Sorts would use the new one?

{quote}
> if a bunch of ords already in the queue map to the same index, they need to 
> be adjusted to be in order 
{quote}

Hmmm!  Perhaps on comparing two "odd" values that are the same we could 
fallback to a true String.compareTo (I don't like that added if, though, it 
should be rare).  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.

> 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