Module org.apache.lucene.join
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
ConstructorsConstructorDescriptionNoScore(String field, OrdinalMap ordinalMap, long valueCount, int min, int max) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoScore(int globalOrd, float existingScore, float newScore) getLeafCollector(LeafReaderContext context) Create a newcollectorto collect the given context.floatscore(int globalOrdinal) Indicates what features are required from the scorer.protected floatunset()Methods inherited from class org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector
match
-
Constructor Details
-
NoScore
-
-
Method Details
-
getLeafCollector
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:
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
-
scoreMode
Description copied from interface:CollectorIndicates what features are required from the scorer.- Specified by:
scoreModein interfaceCollector- Overrides:
scoreModein classGlobalOrdinalsWithScoreCollector
-