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 |
|---|---|
boolean |
equals(Object obj) |
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.
|
int |
hashCode() |
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 int hashCode()
hashCode in class org.apache.lucene.search.Querypublic boolean equals(Object obj)
equals in class org.apache.lucene.search.QueryCopyright © 2006–2017 Hibernate. All rights reserved.