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() |
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 DocIdSet getDocIdSet(Map context, AtomicReaderContext readerContext, Bits acceptDocs) throws IOException
getDocIdSet
in class SolrFilter
IOException
public void createWeight(Map context, IndexSearcher searcher) throws IOException
SolrFilter
createWeight
in class SolrFilter
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.