public class ValueSourceRangeFilter extends SolrFilter
Constructor and Description |
---|
ValueSourceRangeFilter(org.apache.lucene.queries.function.ValueSource valueSource,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper) |
Modifier and Type | Method and Description |
---|---|
void |
createWeight(Map context,
org.apache.lucene.search.IndexSearcher 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.AtomicReaderContext readerContext,
org.apache.lucene.util.Bits acceptDocs) |
String |
getLowerVal() |
String |
getUpperVal() |
org.apache.lucene.queries.function.ValueSource |
getValueSource() |
int |
hashCode() |
boolean |
isIncludeLower() |
boolean |
isIncludeUpper() |
String |
toString() |
getDocIdSet
public org.apache.lucene.queries.function.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.AtomicReaderContext readerContext, org.apache.lucene.util.Bits acceptDocs) throws IOException
getDocIdSet
in class SolrFilter
IOException
public void createWeight(Map context, org.apache.lucene.search.IndexSearcher searcher) throws IOException
SolrFilter
createWeight
in class SolrFilter
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.