org.apache.solr.search

Class FunctionRangeQParserPlugin

  • All Implemented Interfaces:
    SolrInfoMBean, NamedListInitializedPlugin


    public class FunctionRangeQParserPlugin
    extends QParserPlugin
    Create a range query over a function.
    Other parameters:
    l, the lower bound, optional)
    u, the upper bound, optional)
    incl, include the lower bound: true/false, optional, default=true
    incu, include the upper bound: true/false, optional, default=true
    Example: {!frange l=1000 u=50000}myfield
    Filter query example: fq={!frange l=0 u=2.2}sum(user_ranking,editor_ranking)