private class PointInSetIncludingScoreQuery.MergePointVisitor extends java.lang.Object implements PointValues.IntersectVisitor
Modifier and Type | Field and Description |
---|---|
private PrefixCodedTerms.TermIterator |
iterator |
private BytesRef |
nextQueryPoint |
(package private) float |
nextScore |
private FixedBitSet |
result |
private java.util.Iterator<java.lang.Float> |
scoreIterator |
private float[] |
scores |
private BytesRef |
scratch |
Modifier | Constructor and Description |
---|---|
private |
MergePointVisitor(PrefixCodedTerms sortedPackedPoints,
FixedBitSet result,
float[] scores) |
Modifier and Type | Method and Description |
---|---|
PointValues.Relation |
compare(byte[] minPackedValue,
byte[] maxPackedValue)
Called for non-leaf cells to test how the cell relates to the query, to
determine how to further recurse down the tree.
|
void |
visit(int docID)
Called for all documents in a leaf cell that's fully contained by the query.
|
void |
visit(int docID,
byte[] packedValue)
Called for all documents in a leaf cell that crosses the query.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
grow
private final FixedBitSet result
private final float[] scores
private PrefixCodedTerms.TermIterator iterator
private java.util.Iterator<java.lang.Float> scoreIterator
private BytesRef nextQueryPoint
float nextScore
private final BytesRef scratch
private MergePointVisitor(PrefixCodedTerms sortedPackedPoints, FixedBitSet result, float[] scores) throws java.io.IOException
java.io.IOException
public void visit(int docID)
PointValues.IntersectVisitor
visit
in interface PointValues.IntersectVisitor
public void visit(int docID, byte[] packedValue)
PointValues.IntersectVisitor
visit
in interface PointValues.IntersectVisitor
public PointValues.Relation compare(byte[] minPackedValue, byte[] maxPackedValue)
PointValues.IntersectVisitor
compare
in interface PointValues.IntersectVisitor