public final class SolrRangeQuery extends ExtendedQueryBase implements DocSetProducer
Constructor and Description |
---|
SolrRangeQuery(String field,
BytesRef lower,
BytesRef upper,
boolean includeLower,
boolean includeUpper) |
Modifier and Type | Method and Description |
---|---|
DocSet |
createDocSet(SolrIndexSearcher searcher) |
Weight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object obj) |
String |
getField() |
BytesRef |
getLower() |
TermsEnum |
getTermsEnum(LeafReaderContext ctx) |
BytesRef |
getUpper() |
int |
hashCode() |
boolean |
includeLower() |
boolean |
includeUpper() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
getCache, getCacheSep, getCost, getOptions, getOptionsString, setCache, setCacheSep, setCost
classHash, sameClassAs, toString
public String getField()
public BytesRef getLower()
public BytesRef getUpper()
public boolean includeLower()
public boolean includeUpper()
public String toString(String field)
toString
in class ExtendedQueryBase
public void visit(QueryVisitor visitor)
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class Query
IOException
public DocSet createDocSet(SolrIndexSearcher searcher) throws IOException
createDocSet
in interface DocSetProducer
IOException
public TermsEnum getTermsEnum(LeafReaderContext ctx) throws IOException
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.