I am curious about this as well.  I often have to read an entire stream into
a string just to be able to store the value in the index.  It would be nice
if there was a way to specify that a field is to be stored regardless if it
is a Reader value or a String value.   And the same argument could be made
for the UnIndexed() and UnStored() methods which only accept Strings.

Brian


> Hi All,
>
> Why can't we use Reader to index stored value in Lucene. I found it
strange.
> And also in the code I saw that the String value is converted to a
> StringReader anyway.
>
> Any reason why?
>
>
> Regards,
>
> --
> Victor Hadianto
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to