Return-Path: X-Original-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F5348BD3 for ; Sat, 17 Sep 2011 18:32:26 +0000 (UTC) Received: (qmail 36083 invoked by uid 500); 17 Sep 2011 18:32:26 -0000 Delivered-To: apmail-lucene-solr-commits-archive@lucene.apache.org Received: (qmail 36021 invoked by uid 500); 17 Sep 2011 18:32:25 -0000 Mailing-List: contact solr-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-commits@lucene.apache.org Received: (qmail 36011 invoked by uid 99); 17 Sep 2011 18:32:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 18:32:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2011 18:32:23 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id D1D4D1CD; Sat, 17 Sep 2011 18:32:03 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Sat, 17 Sep 2011 18:32:03 -0000 Message-ID: <20110917183203.47286.92148@eos.apache.org> Subject: =?utf-8?q?=5BSolr_Wiki=5D_Update_of_=22FieldCollapsing=22_by_martijnvg?= Auto-Submitted: auto-generated Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for chan= ge notification. The "FieldCollapsing" page has been changed by martijnvg: http://wiki.apache.org/solr/FieldCollapsing?action=3Ddiff&rev1=3D37&rev2=3D= 38 =3D Request Parameters =3D ||'''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 b= e 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/Extern= alFileField.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 b= e 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/Extern= alFileField.html|ExternalFileField]]. Note: for Solr 3.x versions the field= must by a string like field such as StrField or TextField, otherwise a htt= p status 400 is returned.|| ||group.func||[function query]||Group based on the unique values of a fun= ction query. [[Solr4.0]] This parameter only is supported on 4.0|| ||group.query||[query]||Return a single group of documents that also matc= h 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) ma= y 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 g= roup.func are the only parameters that aren't supported for distributed sea= rches. = = =3D Known Limitations =3D - * Distributed search support for result grouping has not yet been implem= ented. There is a patch available in SOLR-2066, that supports the group.fie= ld parameter. * Support for grouping on a multi-valued field has not yet been implemen= ted. * Further performance improvements are planned soon! =20