lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FieldCollapsing" by martijnvg
Date Sat, 17 Sep 2011 18:32:03 GMT
Dear Wiki user,

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

The "FieldCollapsing" page has been changed by martijnvg:
http://wiki.apache.org/solr/FieldCollapsing?action=diff&rev1=37&rev2=38

  = Request Parameters =
  ||'''param name''' ||'''param value'''||'''description''' ||
  ||group||true/false||if true, turn on result grouping||
- ||group.field||[fieldname]||Group based on the unique values of a field.  The field must
currently be single-valued and must be either indexed, or be another field type that has a
value source and works in a function query - such as [[http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html|ExternalFileField]].
Note: for Solr 3.3 the field must by a string like field such as StrField or TextField, otherwise
a http status 400 is returned.||
+ ||group.field||[fieldname]||Group based on the unique values of a field.  The field must
currently be single-valued and must be either indexed, or be another field type that has a
value source and works in a function query - such as [[http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html|ExternalFileField]].
Note: for Solr 3.x versions the field must by a string like field such as StrField or TextField,
otherwise a http status 400 is returned.||
  ||group.func||[function query]||Group based on the unique values of a function query. <!>
[[Solr4.0]] This parameter only is supported on 4.0||
  ||group.query||[query]||Return a single group of documents that also match the given query.||
  ||rows||[number]||The number of groups to return. Defaults to 10.||
@@ -151, +151 @@

  
  Notes:
   * Any number of group commands (group.field, group.func, group.query) may be specified
in a single request.
+  * Grouping is also supported for distributed searches from version <!> [[Solr3.5]]
and from version <!> [[Solr4.0]]. Currently group.truncate and group.func are the only
parameters that aren't supported for distributed searches.
  
  
  = Known Limitations =
-  * Distributed search support for result grouping has not yet been implemented. There is
a patch available in SOLR-2066, that supports the group.field parameter.
   * Support for grouping on a multi-valued field has not yet been implemented.
   * Further performance improvements are planned soon!
  

Mime
View raw message