Class GlobalOrdinalsWithScoreCollector

    • Constructor Detail

      • GlobalOrdinalsWithScoreCollector

        GlobalOrdinalsWithScoreCollector​(java.lang.String field,
                                         OrdinalMap ordinalMap,
                                         long valueCount,
                                         ScoreMode scoreMode,
                                         int min,
                                         int max)
    • Method Detail

      • match

        public boolean match​(int globalOrd)
      • score

        public float score​(int globalOrdinal)
      • doScore

        protected abstract void doScore​(int globalOrd,
                                        float existingScore,
                                        float newScore)
      • unset

        protected abstract float unset()
      • scoreMode

        public ScoreMode scoreMode()
        Description copied from interface: Collector
        Indicates what features are required from the scorer.
        Specified by:
        scoreMode in interface Collector