lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Indexing terms only
Date Wed, 22 Dec 2004 16:53:31 GMT

On Dec 22, 2004, at 11:36 AM, Mike Snare wrote:
> Whether or not the text is stored in the index is a different concern
> that how it is analyzed.  If you want the text to be indexed, and not
> stored, then use the Field.Text(String, String) method

Correction: Field.Text(String, String) is a stored field.  If you want 
unstored, use Field.UnStored(String, String).
This is a bit confusing because Field.Text(String, Reader) is not 
stored.  This confusion has been cleared up in the CVS version of 
Lucene and will be deprecated in the 1.9 release, and removed in the 
2.0 release.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message