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 void
doScore
(int globalOrd, float existingScore, float newScore) getLeafCollector
(LeafReaderContext context) Create a newcollector
to collect the given context.float
score
(int globalOrdinal) Indicates what features are required from the scorer.protected float
unset()
Methods inherited from class org.apache.lucene.search.join.GlobalOrdinalsWithScoreCollector
match
-
Constructor Details
-
NoScore
-
-
Method Details
-
getLeafCollector
Description copied from interface:Collector
Create a newcollector
to collect the given context.- Specified by:
getLeafCollector
in interfaceCollector
- Overrides:
getLeafCollector
in classGlobalOrdinalsWithScoreCollector
- Parameters:
context
- next atomic reader context- Throws:
IOException
-
doScore
protected void doScore(int globalOrd, float existingScore, float newScore) - Specified by:
doScore
in classGlobalOrdinalsWithScoreCollector
-
score
public float score(int globalOrdinal) - Overrides:
score
in classGlobalOrdinalsWithScoreCollector
-
unset
protected float unset()- Specified by:
unset
in classGlobalOrdinalsWithScoreCollector
-
scoreMode
Description copied from interface:Collector
Indicates what features are required from the scorer.- Specified by:
scoreMode
in interfaceCollector
- Overrides:
scoreMode
in classGlobalOrdinalsWithScoreCollector
-