lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Using a sum of fields in a filter query
Date Wed, 05 Sep 2012 01:54:56 GMT

: The piece I was also missing as well was to add:
: <queryParser name="functionparser"
: class=""/>

a) the FunctionQParserPlugin is already registered by default using hte 
name "func" -- you shouldn't need to register it explicitly unless you 
want to use it with a custom name.

b) the FunctionQParserPlugin is not even required in order to use 
"FunctionRangeQParserPlugin" (aka: "frange") that RafaƂ suggested for 
filtering by function range...

: > fq={!frange l=0 u=100}sum(fielda, fieldb, fieldc)

  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message