public class TopLevelJoinQuery extends Query
JoinQuery
implementation using global (top-level) DocValues ordinals to efficiently compare values in the "from" and "to" fields.Modifier and Type | Class and Description |
---|---|
protected static class |
TopLevelJoinQuery.BitsetBounds |
Constructor and Description |
---|
TopLevelJoinQuery(String fromField,
String toField,
String coreName,
Query subQuery) |
Modifier and Type | Method and Description |
---|---|
protected TopLevelJoinQuery.BitsetBounds |
convertFromOrdinalsIntoToField(LongBitSet fromOrdBitSet,
SortedSetDocValues fromDocValues,
LongBitSet toOrdBitSet,
SortedSetDocValues toDocValues) |
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object other) |
Query |
getQuery() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
classHash, sameClassAs, toString
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
IOException
protected TopLevelJoinQuery.BitsetBounds convertFromOrdinalsIntoToField(LongBitSet fromOrdBitSet, SortedSetDocValues fromDocValues, LongBitSet toOrdBitSet, SortedSetDocValues toDocValues) throws IOException
IOException
public Query getQuery()
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public void visit(QueryVisitor visitor)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.