lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: What do reader-valued Fields do?
Date Mon, 01 Apr 2002 06:08:50 GMT
This means that you can make searches against that field, but cannot
retrieve its original value.

Otis

--- "Robert A. Decker" <decker@robdecker.com> wrote:
> What should I use to store and add to my Document a long
> String? (thousands of characters)
> 
> I'm still having difficulty understanding what it means to create a
> field
> with a reader value:
> 
> String aString = "fieldName";
> String aStringReader = new StringReader(someLongText);
> Field field = Field.Text(aString, aStringReader);
> 
> The documentation says that this will be "tokenized and indexed, but
> is
> not stored in the index verbatim." 
> 
> I'm using this to store a long text field - an entire document.
> 
> However, in my case, nothing appears to be stored in the index! What
> do
> they mean by not being stored verbatim? I assumed this to mean that
> it
> would run the text through my analyzer, at the least, and perhaps,
> further, store it as a serialized form.
> 
> 
> thanks
> rob
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:lucene-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

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


Mime
View raw message