public final class SpatialHashFilter
extends org.apache.lucene.search.Filter
SpatialFieldBridgeByHash,
Coordinates| Constructor and Description |
|---|
SpatialHashFilter(List<String> spatialHashCellsIds,
String fieldName) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.DocIdSet |
getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
Search the index for document having the correct spatial hash cell id at given grid level.
|
String |
toString() |
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.AtomicReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
throws IOException
getDocIdSet in class org.apache.lucene.search.Filtercontext - the AtomicReaderContext 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 matchingIOExceptionCopyright © 2006–2015 Hibernate. All rights reserved.