lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "TermsComponent" by MattWeber
Date Mon, 31 Aug 2009 21:19:15 GMT
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 MattWeber:

   * terms.upper={The upper bound term} - The term to stop at.  Either upper or terms.limit
must be set. 
   * terms.upper.incl={true|false} - Include the upper bound term in the result set.  Default
is false.
   * terms.raw={true|false} - If true, return the raw characters of the indexed term, regardless
of if it is human readable. For instance, the indexed form of numeric numbers is not human
readable.  The default is false.
+  * terms.sort={count|index} - If count, sorts the terms by the term frequency (highest count
first).  If index, returns the terms in index order.  Default is to sort by count.
  The output is a list of the terms and their document frequency values.
@@ -33, +34 @@

  == Simple ==
- http://localhost:8983/solr/terms?terms.fl=name
+ http://localhost:8983/solr/terms?terms.fl=name&terms.sort=index
  Get back the first ten terms in the name field. 
@@ -70, +71 @@

- http://localhost:8983/solr/terms?terms.fl=name&terms.lower=a
+ http://localhost:8983/solr/terms?terms.fl=name&terms.lower=a&terms.sort=index

View raw message