org.apache.solr.search.function
Class ValueSourceRangeFilter
java.lang.Object
org.apache.lucene.search.Filter
org.apache.solr.search.SolrFilter
org.apache.solr.search.function.ValueSourceRangeFilter
- All Implemented Interfaces:
- Serializable
public class ValueSourceRangeFilter
- extends SolrFilter
RangeFilter over a ValueSource.
- See Also:
- Serialized Form
Methods inherited from class org.apache.lucene.search.Filter |
bits |
ValueSourceRangeFilter
public ValueSourceRangeFilter(ValueSource valueSource,
String lowerVal,
String upperVal,
boolean includeLower,
boolean includeUpper)
getDocIdSet
public DocIdSet getDocIdSet(Map context,
IndexReader reader)
throws IOException
- Specified by:
getDocIdSet
in class SolrFilter
- Throws:
IOException
createWeight
public void createWeight(Map context,
Searcher searcher)
throws IOException
- Description copied from class:
SolrFilter
- Implementations should propagate createWeight to sub-ValueSources which can store weight info in the context.
The context object will be passed to getDocIdSet() where this info can be retrieved.
- Specified by:
createWeight
in class SolrFilter
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Apache Software Foundation. All Rights Reserved.