public class ValueSourceRangeFilter extends SolrFilter
Constructor and Description |
---|
ValueSourceRangeFilter(ValueSource valueSource,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
Modifier and Type | Method and Description |
---|---|
void |
createWeight(Map context,
org.apache.lucene.search.Searcher searcher)
Implementations should propagate createWeight to sub-ValueSources which can store weight info in the context.
|
boolean |
equals(Object o) |
org.apache.lucene.search.DocIdSet |
getDocIdSet(Map context,
org.apache.lucene.index.IndexReader reader) |
String |
getLowerVal() |
String |
getUpperVal() |
ValueSource |
getValueSource() |
int |
hashCode() |
boolean |
isIncludeLower() |
boolean |
isIncludeUpper() |
String |
toString() |
getDocIdSet
public ValueSourceRangeFilter(ValueSource valueSource, String lowerVal, String upperVal, boolean includeLower, boolean includeUpper)
public ValueSource getValueSource()
public String getLowerVal()
public String getUpperVal()
public boolean isIncludeLower()
public boolean isIncludeUpper()
public org.apache.lucene.search.DocIdSet getDocIdSet(Map context, org.apache.lucene.index.IndexReader reader) throws IOException
getDocIdSet
in class SolrFilter
IOException
public void createWeight(Map context, org.apache.lucene.search.Searcher searcher) throws IOException
SolrFilter
createWeight
in class SolrFilter
IOException