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 void
doScore(int globalOrd, float existingScore, float newScore)
LeafCollector
getLeafCollector(LeafReaderContext context)
Create a newcollector
to collect the given context.float
score(int globalOrdinal)
ScoreMode
scoreMode()
Indicates what features are required from the scorer.protected float
unset()
-
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: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:
java.io.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
-
-