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