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,
boolean needScores) |
boolean |
equals(Object obj) |
String |
getField() |
TermsEnum |
getTermsEnum(LeafReaderContext ctx) |
int |
hashCode() |
boolean |
includeLower() |
boolean |
includeUpper() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
getCache, getCacheSep, getCost, getOptions, getOptionsString, setCache, setCacheSep, setCostpublic String getField()
public boolean includeLower()
public boolean includeUpper()
public String toString(String field)
toString in class ExtendedQueryBasepublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic Weight createWeight(IndexSearcher searcher, boolean needScores) throws IOException
createWeight in class QueryIOExceptionpublic DocSet createDocSet(SolrIndexSearcher searcher) throws IOException
createDocSet in interface DocSetProducerIOExceptionpublic TermsEnum getTermsEnum(LeafReaderContext ctx) throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.