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() |
getDocIdSetpublic 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 SolrFilterIOExceptionpublic void createWeight(Map context, org.apache.lucene.search.Searcher searcher) throws IOException
SolrFiltercreateWeight in class SolrFilterIOExceptionCopyright © 2006–2014 The Apache Software Foundation. All rights reserved.