lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-12950) Consolidate the comparator in IndexSizeTrigger#run
Date Thu, 01 Nov 2018 00:23:00 GMT
Ted Yu created SOLR-12950:
-----------------------------

             Summary: Consolidate the comparator in IndexSizeTrigger#run
                 Key: SOLR-12950
                 URL: https://issues.apache.org/jira/browse/SOLR-12950
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Ted Yu


Currently IndexSizeTrigger#run uses two comparators for sorting.

They retrieve DOCS_SIZE_PROP from replica and present different order for the sorting.

It seems defining one comparator should be enough.
The other can be expressed with Collections.reverseOrder of the first one.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message