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,
float boost) |
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, setCost
classHash, sameClassAs, toString
public String getField()
public boolean includeLower()
public boolean includeUpper()
public String toString(String field)
toString
in class ExtendedQueryBase
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public Weight createWeight(IndexSearcher searcher, boolean needScores, 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-2018 Apache Software Foundation. All Rights Reserved.