mirror of https://github.com/apache/lucene.git
javadoc: added example of frange as a filter query
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@880987 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cdbcf8aca3
commit
fa5fb127ab
|
@ -33,6 +33,7 @@ import org.apache.solr.search.function.*;
|
||||||
* <br><code>incl</code>, include the lower bound: true/false, optional, default=true
|
* <br><code>incl</code>, include the lower bound: true/false, optional, default=true
|
||||||
* <br><code>incu</code>, include the upper bound: true/false, optional, default=true
|
* <br><code>incu</code>, include the upper bound: true/false, optional, default=true
|
||||||
* <br>Example: <code>{!frange l=1000 u=50000}myfield</code>
|
* <br>Example: <code>{!frange l=1000 u=50000}myfield</code>
|
||||||
|
* <br>Filter query example: <code>fq={!frange l=0 u=2.2}sum(user_ranking,editor_ranking)</code>
|
||||||
*/
|
*/
|
||||||
public class FunctionRangeQParserPlugin extends QParserPlugin {
|
public class FunctionRangeQParserPlugin extends QParserPlugin {
|
||||||
public static String NAME = "frange";
|
public static String NAME = "frange";
|
||||||
|
|
Loading…
Reference in New Issue