Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 66C6F11E97 for ; Thu, 19 Jun 2014 22:52:07 +0000 (UTC) Received: (qmail 25212 invoked by uid 500); 19 Jun 2014 22:52:02 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 25140 invoked by uid 500); 19 Jun 2014 22:52:02 -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 25128 invoked by uid 99); 19 Jun 2014 22:52:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 22:52:01 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohuang@visa.com designates 198.241.159.4 as permitted sender) Received: from [198.241.159.4] (HELO visa.com) (198.241.159.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 22:51:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=visa.com; s=portal4; t=1403218293; x=1714673591; q=dns/txt; h=From:Subject: Date:Message-ID:Content-Language:Content-Type; bh=Ey5TvIk4rKSpnr tet27+ueXScDaj++vjD9b+EyCXgFg=; b=KebzMl6ARWU86fwahJlhu/QnwfMLmJ bqKJfKl0bE+RutHOYABCtoSRQVR030J3neoJnzWNOgQep3HLVbfQXpdSQAhLwPbF EgM4bvHTBbd2RDMhQzpE/u47/D3Ae4LKIwR1y7D3CDvoRu0z9Rd4/BysJBLXYiN3 74eICDBTimofU= From: "Huang, Roger" To: "solr-user@lucene.apache.org" Subject: Indexing a term into separate Lucene indexes Thread-Topic: Indexing a term into separate Lucene indexes Thread-Index: Ac+MEKLrB2RN9tUFThSJf0KLzeYc7w== Date: Thu, 19 Jun 2014 22:51:31 +0000 Message-ID: <891BD3BF4E34CF47833A088BCFCA8A4D01B30F17@SW550MBPX041.visa.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.70.151.115] Content-Type: multipart/alternative; boundary="_000_891BD3BF4E34CF47833A088BCFCA8A4D01B30F17SW550MBPX041vis_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_891BD3BF4E34CF47833A088BCFCA8A4D01B30F17SW550MBPX041vis_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If I have documents with a person and his email address: user@domain.com How can I configure Solr (4.6) so that the email address source field is in= dexed as - the user part of the address (e.g., "user") is in Lucene index X - the domain part of the address (e.g., "domain.com") is in a sepa= rate Lucene index Y I would like to be able search as follows: - Find all people whose email addresses have user part =3D "userXy= z" - Find all people whose email addresses have domain part =3D "doma= inABC.com" - Find the person with exact email address =3D "userXyz@domainABC.= com" Would I use a declaration in my schema? http://wiki.apache.org/solr/SchemaXml#Copy_Fields Thanks! --_000_891BD3BF4E34CF47833A088BCFCA8A4D01B30F17SW550MBPX041vis_--