You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2008/12/06 15:06:36 UTC

[Solr Wiki] Update of "TermsComponent" by GrantIngersoll

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by GrantIngersoll:
http://wiki.apache.org/solr/TermsComponent

------------------------------------------------------------------------------
   * terms={true|false} - Turn on the !TermsComponent
   * terms.fl={FIELD NAME} - Required. The name of the field to get the terms from.
   * terms.lower={The lower bound term} - Optional.  The term to start at.  If not specified, the empty string is used, meaning start at the beginning of the field.
+  * terms.lower.incl={true|false} - Optional.  Include the lower bound term in the result set.  Default is true.
+  * terms.mincount=<Integer> - Optional.  The minimum doc frequency to return in order to be included
+  * terms.maxcount=<Integer> - Optional.  The maximum doc frequency.  Default is -1 to have no upper bound.
+  * terms.prefix={String} - Optional.  Restrict matches to terms that start with the prefix. 
+  * terms.rows={integer} - Either upper, terms.rows, rows must be set.  The number of results to return.  If not specified, looks for rows (CommonParams.ROWS).  If that is not specified, default is 10.  If < 0, then include all rows up to Integer.MAX_VALUE 
   * terms.upper={The upper bound term} - Either upper, terms.rows, rows must be set.  The term to stop at.
   * terms.upper.incl={true|false} - Optional.  Include the upper bound term in the result set.  Default is false.
+ 
+ 
-  * terms.lower.incl={true|false} - Optional.  Include the lower bound term in the result set.  Default is true.
-  * terms.rows={integer} - Either upper, terms.rows, rows must be set.  The number of results to return.  If not specified, looks for rows (CommonParams.ROWS).  If that is not specified, default is 10.  If < 0, then include all rows up to Integer.MAX_VALUE 
-  * terms.prefix={String} - Optional.  Restrict matches to terms that start with the prefix. 
  
  The output is a list of the terms and their document frequency values.  Again, see http://lucene.apache.org/java/2_4_0/api/core/org/apache/lucene/index/TermEnum.html