Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 77778 invoked from network); 2 Apr 2009 14:46:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 14:46:02 -0000 Received: (qmail 38403 invoked by uid 500); 2 Apr 2009 14:46:00 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 38353 invoked by uid 500); 2 Apr 2009 14:45:59 -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 38343 invoked by uid 99); 2 Apr 2009 14:45:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:45:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [160.79.251.45] (HELO mail02.tveyes.com) (160.79.251.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 14:45:51 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Retrieving TokenStream from Tokenized Non-Stored Field Date: Thu, 2 Apr 2009 10:45:24 -0400 Message-ID: <3CA90CC651AE3F4BAEDF8A5B78639C8C02B1C509@mail02.tveyes.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Retrieving TokenStream from Tokenized Non-Stored Field thread-index: AcmzoafYmiMrdThEQ6Oo6kJ+cw1AvA== From: "David Seltzer" To: X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I have a document with a field called "TextTranscript". Its created using the following command: myDoc.add(new Field("TextTranscript", sTranscriptBody, Field.Store.NO, Field.Index.TOKENIZED)); I'm then trying to retrieve the TokenStream by pulling the field. Field fTextTranscript =3D lucDoc.getField("TextTranscript"); But fTextTranscript seems always to be NULL. My understanding is that I should be able to retrieve the TokenString, even if it's not "Stored". Am I incorrect? Is there a better way of doing this? Thanks! -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org