public final class SpatialHashFilter extends Filter
SpatialFieldBridgeByHash
,
Coordinates
Constructor and Description |
---|
SpatialHashFilter(List<String> spatialHashCellsIds,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
DocIdSet |
getDocIdSet(LeafReaderContext context,
Bits acceptDocs)
Search the index for document having the correct spatial hash cell id at given grid level.
|
int |
hashCode() |
String |
toString(String field) |
public DocIdSet getDocIdSet(LeafReaderContext context, Bits acceptDocs) throws IOException
getDocIdSet
in class Filter
context
- the LeafReaderContext
for which to return the DocIdSet
.acceptDocs
- Bits that represent the allowable docs to match (typically deleted docs but possibly filtering
other documents)DocIdSet
with the document ids matchingIOException
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved