Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 9950 invoked from network); 5 Feb 2009 08:31:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2009 08:31:07 -0000 Received: (qmail 86658 invoked by uid 500); 5 Feb 2009 08:30:58 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 86633 invoked by uid 500); 5 Feb 2009 08:30:58 -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 86608 invoked by uid 99); 5 Feb 2009 08:30:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 00:30:58 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aminmc@gmail.com designates 209.85.220.14 as permitted sender) Received: from [209.85.220.14] (HELO mail-fx0-f14.google.com) (209.85.220.14) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Feb 2009 08:30:49 +0000 Received: by fxm7 with SMTP id 7so163228fxm.5 for ; Thu, 05 Feb 2009 00:30:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=jgsSRROPiLGYlxiDKP5fcIm8NxFoY3gW2WP7p9yyCzo=; b=S9SS2hq8/goPzJz4As4L8QrKUpcoWlsCdmavgfIiv0sjO6svG1qtkGDOAsngJ5J0Ls Qq4VvVlzY605XICTxUqfrDfjsbhKWDHlVVpoY/EsA5V8+4nv7Lhz+9swVPSPCo24eWzh whziEiFwW9YDuy5usRZjzhbcsCVP+xYav+O+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=reeBPX/26OakHm3d9Boe1N+Ix2fF+o0T5311W0O6bQKC2fq25uulwBo16hBVKFBT0s aajSch9dhjmybDn5WvvYn90Vg9986n8zWPYjG40ilbAOxTUgmqgAWo19acM9wg5e1Wm4 VnN8W3PBY84z2Ov0a8paB8fRwJdYINQv+wYjw= MIME-Version: 1.0 Received: by 10.180.233.15 with SMTP id f15mr76333bkh.188.1233822626536; Thu, 05 Feb 2009 00:30:26 -0800 (PST) Date: Thu, 5 Feb 2009 08:30:26 +0000 Message-ID: <6f4104d80902050030q3ebccdf4g6aeb856ab8f0e542@mail.gmail.com> Subject: Field.Store.YES Question From: Amin Mohammed-Coleman To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001636c5b52e5edddf046227b7c7 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5b52e5edddf046227b7c7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi I'm probably going to get shot down for asking this simple question. Although I think I understand the basic concept of Field I feel there is something that I am missing and I was wondering if someone might help to clarify. You can store a field value in an index using Field.Store.YES or if the content is too large then you can exclude it be stored in the index using Field.Store.NO. How does Lucene know how to search for a term in an index if the value hasn't been stored in the index? I guess I can understand that if you don't store the field then you can't get the field and it's value using the document api. Is there a seperate part in the lucene document that the tokenised strings are stored and therefore Lucene knows where to look? Again I do apologise for asking this question...I just feel like I'm missing something (knew I shouldn't have had those tequilla shots!). Thanks Amin --001636c5b52e5edddf046227b7c7--