Package org.apache.lucene.search.join
Class GlobalOrdinalsWithScoreCollector.NoScore
- java.lang.Object
-
- org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector
-
- org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector.NoScore
-
- All Implemented Interfaces:
Collector
- Enclosing class:
- GlobalOrdinalsWithScoreCollector
static final class GlobalOrdinalsWithScoreCollector.NoScore extends GlobalOrdinalsWithScoreCollector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector
GlobalOrdinalsWithScoreCollector.Avg, GlobalOrdinalsWithScoreCollector.Max, GlobalOrdinalsWithScoreCollector.Min, GlobalOrdinalsWithScoreCollector.NoScore, GlobalOrdinalsWithScoreCollector.Occurrences, GlobalOrdinalsWithScoreCollector.OrdinalMapCollector, GlobalOrdinalsWithScoreCollector.Scores, GlobalOrdinalsWithScoreCollector.SegmentOrdinalCollector, GlobalOrdinalsWithScoreCollector.Sum
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector
arraySize, collectedOrds, doMinMax, field, max, min, occurrences, ordinalMap, scores
-
-
Constructor Summary
Constructors Constructor Description NoScore(java.lang.String field, OrdinalMap ordinalMap, long valueCount, int min, int max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoScore(int globalOrd, float existingScore, float newScore)LeafCollectorgetLeafCollector(LeafReaderContext context)Create a newcollectorto collect the given context.floatscore(int globalOrdinal)ScoreModescoreMode()Indicates what features are required from the scorer.protected floatunset()-
Methods inherited from class org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector
match
-
-
-
-
Constructor Detail
-
NoScore
public NoScore(java.lang.String field, OrdinalMap ordinalMap, long valueCount, int min, int max)
-
-
Method Detail
-
getLeafCollector
public LeafCollector getLeafCollector(LeafReaderContext context) throws java.io.IOException
Description copied from interface:CollectorCreate a newcollectorto collect the given context.- Specified by:
getLeafCollectorin interfaceCollector- Overrides:
getLeafCollectorin classGlobalOrdinalsWithScoreCollector- Parameters:
context- next atomic reader context- Throws:
java.io.IOException
-
doScore
protected void doScore(int globalOrd, float existingScore, float newScore)- Specified by:
doScorein classGlobalOrdinalsWithScoreCollector
-
score
public float score(int globalOrdinal)
- Overrides:
scorein classGlobalOrdinalsWithScoreCollector
-
unset
protected float unset()
- Specified by:
unsetin classGlobalOrdinalsWithScoreCollector
-
-