Package org.apache.solr.search
Class FunctionRangeQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.apache.solr.search.ExtendedQueryBase
-
- org.apache.solr.search.FunctionRangeQuery
-
- All Implemented Interfaces:
ExtendedQuery
,PostFilter
public class FunctionRangeQuery extends ExtendedQueryBase implements PostFilter
-
-
Constructor Summary
Constructors Constructor Description FunctionRangeQuery(ValueSourceRangeFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Weight
createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)
boolean
equals(Object obj)
DelegatingCollector
getFilterCollector(org.apache.lucene.search.IndexSearcher searcher)
Returns a DelegatingCollector to be run after the main query and all of its filters, but before any sorting or grouping collectorsint
hashCode()
String
toString(String field)
void
visit(org.apache.lucene.search.QueryVisitor visitor)
-
Methods inherited from class org.apache.solr.search.ExtendedQueryBase
getCache, getCost, getOptions, getOptionsString, setCache, setCost
-
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, rewrite, sameClassAs, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.solr.search.ExtendedQuery
getCache, getCost, getCostAppliedQuery, setCache, setCost
-
-
-
-
Constructor Detail
-
FunctionRangeQuery
public FunctionRangeQuery(ValueSourceRangeFilter filter)
-
-
Method Detail
-
createWeight
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) throws IOException
- Overrides:
createWeight
in classorg.apache.lucene.search.Query
- Throws:
IOException
-
getFilterCollector
public DelegatingCollector getFilterCollector(org.apache.lucene.search.IndexSearcher searcher)
Description copied from interface:PostFilter
Returns a DelegatingCollector to be run after the main query and all of its filters, but before any sorting or grouping collectors- Specified by:
getFilterCollector
in interfacePostFilter
-
toString
public String toString(String field)
- Overrides:
toString
in classExtendedQueryBase
-
visit
public void visit(org.apache.lucene.search.QueryVisitor visitor)
- Specified by:
visit
in classorg.apache.lucene.search.Query
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.lucene.search.Query
-
-