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.LeafReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
Search the index for document having the correct spatial hash cell id at given grid level.
|
String |
getFieldName() |
List<String> |
getSpatialHashCellsIds() |
String |
toString(String field) |
public org.apache.lucene.search.DocIdSet getDocIdSet(org.apache.lucene.index.LeafReaderContext context,
org.apache.lucene.util.Bits acceptDocs)
throws IOException
getDocIdSet in class org.apache.lucene.search.Filtercontext - 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 matchingIOExceptionpublic String getFieldName()
Copyright © 2006–2016 Hibernate. All rights reserved.