lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: "UnStored" vs "Reader"
Date Mon, 17 May 2004 21:34:52 GMT
jitender ahuja wrote:
>       If there is no difference then is there an underlying basic difference
> or just a simple redundancy (both types performing the same job) is there? I
> feel that it cann't be a simple redundancy.

For unstored fields, Lucene only requires sequential access to the 
characters.  A Reader permits data to be streamed into the index: the 
entire text need never be held in memory at once.  For application 
convenience and consistency with stored fields, one can also provide 
strings for unstored field values.

Doug


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


Mime
View raw message