public class HashRangeQuery extends Query
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_KEY_PREFIX |
protected String |
field |
protected int |
lower |
protected int |
upper |
| Constructor and Description |
|---|
HashRangeQuery(String field,
int lower,
int upper) |
| Modifier and Type | Method and Description |
|---|---|
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
classHash, rewrite, sameClassAs, toStringprotected final String field
protected final int lower
protected final int upper
public static final String CACHE_KEY_PREFIX
public HashRangeQuery(String field, int lower, int upper)
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class QueryIOExceptionpublic void visit(QueryVisitor visitor)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.