Class TieredMergePolicy.MergeScore

java.lang.Object
org.apache.lucene.index.TieredMergePolicy.MergeScore
Enclosing class:
TieredMergePolicy

protected abstract static class TieredMergePolicy.MergeScore extends Object
Holds score and explanation for a single candidate merge.
  • Constructor Details

    • MergeScore

      protected MergeScore()
      Sole constructor. (For invocation by subclass constructors, typically implicit.)
  • Method Details

    • getScore

      abstract double getScore()
      Returns the score for this merge candidate; lower scores are better.
    • getExplanation

      abstract String getExplanation()
      Human readable explanation of how the merge got this score.