@Deprecated public class BKDPointInBBoxQuery extends Query
The field must be indexed with BKDTreeDocValuesFormat
, and BKDPointField
added per document.
NOTE: for fastest performance, this allocates FixedBitSet(maxDoc) for each segment. The score of each hit is the query boost.
Constructor and Description |
---|
BKDPointInBBoxQuery(String field,
double minLat,
double maxLat,
double minLon,
double maxLon)
Deprecated.
Matches all points >= minLon, minLat (inclusive) and < maxLon, maxLat (exclusive).
|
Modifier and Type | Method and Description |
---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores)
Deprecated.
|
boolean |
equals(Object other)
Deprecated.
|
int |
hashCode()
Deprecated.
|
Query |
rewrite(IndexReader reader)
Deprecated.
|
String |
toString(String field)
Deprecated.
|
public BKDPointInBBoxQuery(String field, double minLat, double maxLat, double minLon, double maxLon)
public Weight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight
in class Query
IOException
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.