lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <>
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
             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message