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,
IndexSearcher searcher)
Implementations should propagate createWeight to sub-ValueSources which can store weight info in the context.
|
boolean |
equals(Object o) |
DocIdSet |
getDocIdSet(Map context,
AtomicReaderContext readerContext,
Bits acceptDocs) |
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 DocIdSet getDocIdSet(Map context, AtomicReaderContext readerContext, Bits acceptDocs) throws IOException
getDocIdSet in class SolrFilterIOExceptionpublic void createWeight(Map context, IndexSearcher searcher) throws IOException
SolrFiltercreateWeight in class SolrFilterIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.