Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 75015 invoked from network); 23 Nov 2009 09:06:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 09:06:16 -0000 Received: (qmail 22176 invoked by uid 500); 23 Nov 2009 09:06:14 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 22087 invoked by uid 500); 23 Nov 2009 09:06:13 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 22077 invoked by uid 99); 23 Nov 2009 09:06:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 09:06:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 09:06:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NCUrf-0001O2-JU for java-user@lucene.apache.org; Mon, 23 Nov 2009 01:05:43 -0800 Message-ID: <26474610.post@talk.nabble.com> Date: Mon, 23 Nov 2009 01:05:43 -0800 (PST) From: sameerpatil To: java-user@lucene.apache.org Subject: Linking Fields to Documents possible? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_12760_11983916.1258967143597" X-Nabble-From: nabblegm0il@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_12760_11983916.1258967143597 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I have a requirement where I have a list of Suppliers(documents for lucene index) and a list of Products(documents again). Each Product has a supplier. e.g. : Product -> RouterX, Supplier -> DLink, Netgear Product -> RouterY, Supplier -> Cisco If I search for Cisco, RouterY should show up. If I implement the supplier as a Field in the Document - Router, I will have to update all the Products if the name of a Supplier changes. Can I not just link the field - supplier in Product to the Supplier somehow rather than duplicating ?? -thanks -- View this message in context: http://old.nabble.com/Linking-Fields-to-Documents-possible--tp26474610p26474610.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. ------=_Part_12760_11983916.1258967143597--