lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r880987 - /lucene/solr/trunk/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java
Date Mon, 16 Nov 2009 22:02:59 GMT
Author: yonik
Date: Mon Nov 16 22:02:59 2009
New Revision: 880987

URL: http://svn.apache.org/viewvc?rev=880987&view=rev
Log:
javadoc: added example of frange as a filter query

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java?rev=880987&r1=880986&r2=880987&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/FunctionRangeQParserPlugin.java Mon
Nov 16 22:02:59 2009
@@ -33,6 +33,7 @@
  * <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>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 static String NAME = "frange";



Mime
View raw message