Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 78009 invoked from network); 30 Aug 2010 03:34:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Aug 2010 03:34:57 -0000 Received: (qmail 3914 invoked by uid 500); 30 Aug 2010 03:34:56 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 3401 invoked by uid 500); 30 Aug 2010 03:34:52 -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 3393 invoked by uid 99); 30 Aug 2010 03:34:51 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 03:34:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-lucene-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Aug 2010 03:34:29 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Opv8H-0003ws-BP for java-user@lucene.apache.org; Mon, 30 Aug 2010 05:34:05 +0200 Received: from ool-457569c4.dyn.optonline.net ([69.117.105.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Aug 2010 05:34:05 +0200 Received: from gepardcv by ool-457569c4.dyn.optonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Aug 2010 05:34:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: java-user@lucene.apache.org From: Constantine Vetoshev Subject: Re: Fields with Field.Store.NO and Field.Index.ANALYZED not being indexed Date: Sun, 29 Aug 2010 23:33:52 -0400 Lines: 19 Message-ID: References: <359a92831003251327j110470d7r5380db0910910747@mail.gmail.com> <001d01cb47bb$8231cf70$86956e50$@thetaphi.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ool-457569c4.dyn.optonline.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:0pbCSNfm6wZQddYO34ljt2RhxAU= X-Virus-Checked: Checked by ClamAV on apache.org "Uwe Schindler" writes: > You cannot retrieve non-stored fields. They are analyzed and tokenized > during indexing and this is a one-way transformation. If you update > documents you have to reindex the contents. If you do not have access to the > original contents anymore, you may consider adding a stored-only "raw > document" field, that contains everything to rebuild the indexed fields. In > our installation, we have a stored field containing the JSON/XML source > document to do this. Thanks, that helps. Since it seems that I have to keep the raw data around, is there any reason not to just make that data's field both stored and analyzed? I'm just wondering why you use a separate stored-only field: a Lucene limitation or some app-specific reason? -- Regards, Constantine Vetoshev --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org