Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 79783 invoked from network); 6 Jan 2011 22:55:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2011 22:55:59 -0000 Received: (qmail 12357 invoked by uid 500); 6 Jan 2011 22:55:56 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 12327 invoked by uid 500); 6 Jan 2011 22:55:56 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 12319 invoked by uid 99); 6 Jan 2011 22:55:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jan 2011 22:55:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [98.138.91.55] (HELO nm3-vm0.bullet.mail.ne1.yahoo.com) (98.138.91.55) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Jan 2011 22:55:47 +0000 Received: from [98.138.90.52] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 06 Jan 2011 22:55:25 -0000 Received: from [98.138.87.6] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 06 Jan 2011 22:55:25 -0000 Received: from [127.0.0.1] by omp1006.mail.ne1.yahoo.com with NNFMP; 06 Jan 2011 22:55:25 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 853117.18266.bm@omp1006.mail.ne1.yahoo.com Received: (qmail 97094 invoked by uid 60001); 6 Jan 2011 22:55:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1294354524; bh=dH4qT5rH86bPo/p9gztNtJZV+2YQbL1KM8eEWGRIquk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rQcDDSSKdKei19HH4UgcuYgcBtTIbDvoL26SbtHGTgZKlH7R7mIeE8z7beSZWm304UzgxVmimacG3vR6DqxODrlghiw6Y+BgUWsB63Nt4qvFFRXA9wuq2tIUMdbQPiZqt0wGdxoAADjCKSirLJ2FYKLJj24B/u1iX5Dio5Z/kJ0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=aRgtkD0T2CdHiz1vZSTNH26a86tSkl4dmoARYMtRfUCBWOhSQhpmGUM5B2xWBo/cl3aAri8ysdyW3K0x58qxgV8ExIcEz0O3mQTit82viWVJNq8QLDVAJk9mt53Z4bdmgJA9u0BT6zepaKb62erX7bstvwN0AfOKl01Pun/6qIQ=; Message-ID: <915803.96385.qm@web111306.mail.gq1.yahoo.com> X-YMail-OSG: UcbZfGwVM1la0a4c.RK8VuOdIQXYSqS0OOglGSt.Mpnvmd2 6NDHUqNT6SmRtWomPYX8ET5i6NrRmCCIBOgxoQrrrS6zcWjngIQ2GOMSYYVc 5kv1DgOZdT2CL38ZCvESmcrigr254VNr1iiN7DqX8x3UMVkFwDTtI28xx7Mf nUChuPG8fW045E4ixdv2J_JC16VYQydP15NQljph3RNrnqd0r9Y7NL8LtSfZ .U2WZArCadAgLKnAvL4i4FDH5eeSAyvzIPgB1fzJrrZq4OIVrV163jkkk7AQ Gj.Ub1_iS6pwSHaXZFZkYaeuqydU9zzYp7nE3eU13Rzv4qNtSgoa2hndeqb6 8Gfw2sfPAfrF8xg2mBOpx5LuXU3GYDIL0nmoboeiCF_jL8Z6nCJcCxYiYdCo PerXp..qkVLQ- Received: from [24.34.116.197] by web111306.mail.gq1.yahoo.com via HTTP; Thu, 06 Jan 2011 14:55:24 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Thu, 6 Jan 2011 14:55:24 -0800 (PST) From: Andy Subject: RE: Will Result Grouping return documents that don't contain the specified "group.field"? To: solr-user@lucene.apache.org In-Reply-To: <2FFDE0A331F54E408E2B61724C5387BC0E0B486D81@DINO.sirsi.pvt> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org So by default Solr will not return documents that don't contain the specifi= ed group.field?=0A=0A=0A--- On Thu, 1/6/11, Bob Sandiford wrote:=0A=0A> From: Bob Sandiford =0A> Subject: RE: Will Result Grouping return documents that don't conta= in the specified "group.field"?=0A> To: "solr-user@lucene.apache.org" =0A> Date: Thursday, January 6, 2011, 5:19 PM=0A> W= hat if you put in a default value=0A> for the group_id field in the solr sc= hema - would that work=0A> for you?=A0 e.g. something like 'unknown'=A0 The= n=0A> you'll get all those with no original group_id value still=0A> groupe= d together, and you can figure out at display time=0A> what you want to do = with them.=0A> =0A> Bob Sandiford=A0| Lead Software Engineer=A0|=A0SirsiDyn= ix=0A> P: 800.288.8020 X6943 |=A0Bob.Sandiford@sirsidynix.com=0A> www.sirsi= dynix.com=A0=0A> =0A> =0A> > -----Original Message-----=0A> > From: Andy [m= ailto:angelflow@yahoo.com]=0A> > Sent: Thursday, January 06, 2011 3:06 PM= =0A> > To: solr-user@lucene.apache.org=0A> > Subject: Will Result Grouping = return documents that=0A> don't contain the=0A> > specified "group.field"?= =0A> > =0A> > I want to group my results by a field named=0A> "group_id".= =0A> > =0A> > However, some of my documents don't contain the field=0A> "gr= oup_id". But I=0A> > still want these documents to be returned as part of= =0A> the results as=0A> > long as they match the main query "q".=0A> > =0A>= > Do I need to do anything to tell Solr that I want=0A> those documents?= =0A> > =0A> > Thanks.=0A> > =0A> > =0A> > =0A> =0A> =0A> =0A=0A=0A