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

Robert Muir commented on LUCENE-6167:
-------------------------------------

Thanks Adrien, I will add tests for string. I thought i had added them before!

{quote}
I would also be interesting to see if the string comparator could be refactored 
so that this special case is not needed anymore.
{quote}

Maybe, but i am afraid to make the API more difficult. I can't be the only one 
who would really like FieldComparator to look more like java.util.Comparator 
and not have to implement 20 methods to compare things.

> Speed up SortingMergePolicy by string
> -------------------------------------
>
>                 Key: LUCENE-6167
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6167
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-6167.patch
>
>
> Building the sorted docmaps can take a nontrivial amount of time, for String 
> we currently don't do a very good job. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to