public class ContainsPrefixTreeFilter extends AbstractPrefixTreeFilter
CONTAINS the query shape. For use on RecursivePrefixTreeStrategy.AbstractPrefixTreeFilter.BaseTermsEnumTraverser| Modifier and Type | Field and Description |
|---|---|
protected boolean |
multiOverlappingIndexedShapes
If the spatial data for a document is comprised of multiple overlapping or adjacent parts,
it might fail to match a query shape when doing the CONTAINS predicate when the sum of
those shapes contain the query shape but none do individually.
|
detailLevel, fieldName, grid, queryShape| Constructor and Description |
|---|
ContainsPrefixTreeFilter(com.spatial4j.core.shape.Shape queryShape,
String fieldName,
SpatialPrefixTree grid,
int detailLevel,
boolean multiOverlappingIndexedShapes) |
protected final boolean multiOverlappingIndexedShapes
public ContainsPrefixTreeFilter(com.spatial4j.core.shape.Shape queryShape,
String fieldName,
SpatialPrefixTree grid,
int detailLevel,
boolean multiOverlappingIndexedShapes)
public boolean equals(Object o)
equals in class AbstractPrefixTreeFilterpublic int hashCode()
hashCode in class AbstractPrefixTreeFilterpublic DocIdSet getDocIdSet(AtomicReaderContext context, Bits acceptDocs) throws IOException
getDocIdSet in class FilterIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.