public abstract class AbstractPrefixTreeQuery extends Query
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrefixTreeQuery.BaseTermsEnumTraverser
Holds transient state and docid collecting utility methods as part of
traversing a
TermsEnum for a LeafReaderContext . |
Modifier and Type | Field and Description |
---|---|
protected int |
detailLevel |
protected String |
fieldName |
protected SpatialPrefixTree |
grid |
protected org.locationtech.spatial4j.shape.Shape |
queryShape |
Constructor and Description |
---|
AbstractPrefixTreeQuery(org.locationtech.spatial4j.shape.Shape queryShape,
String fieldName,
SpatialPrefixTree grid,
int detailLevel) |
Modifier and Type | Method and Description |
---|---|
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object o) |
protected abstract DocIdSet |
getDocIdSet(LeafReaderContext context) |
int |
hashCode() |
void |
visit(QueryVisitor visitor) |
protected final org.locationtech.spatial4j.shape.Shape queryShape
protected final String fieldName
protected final SpatialPrefixTree grid
protected final int detailLevel
public AbstractPrefixTreeQuery(org.locationtech.spatial4j.shape.Shape queryShape, String fieldName, SpatialPrefixTree grid, int detailLevel)
public void visit(QueryVisitor visitor)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
protected abstract DocIdSet getDocIdSet(LeafReaderContext context) throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.