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,
boolean needsScores,
float boost) |
boolean |
equals(Object o) |
protected abstract DocIdSet |
getDocIdSet(LeafReaderContext context) |
int |
hashCode() |
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 Weight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight
in class Query
IOException
protected abstract DocIdSet getDocIdSet(LeafReaderContext context) throws IOException
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.