lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Field.tokenStreamValue
Date Tue, 16 Jun 2009 10:12:51 GMT
Seems reasonable?

So you're saying that if a Field has both TokenStream and some other
value, the TokenStream gets indexed into postings & term vectors, but
the other value gets stored?

Mike

On Mon, Jun 15, 2009 at 9:48 PM, Yonik Seeley<yonik@lucidimagination.com> wrote:
> The JavaDoc suggests that one can't have a tokenStreamValue and a
> StringValue or binaryValue at the same time... any good reason for
> this restriction?
>
>  /** The value of the field as a String, or null.  If null, the Reader value,
>   * binary value, or TokenStream value is used.  Exactly one of stringValue(),
>   * readerValue(), getBinaryValue(), and tokenStreamValue() must be set. */
>
> The indexing code looks like it should actually work - but the Field
> restricts one setting a tokenStreamValue and having a stored field at
> the same time.
> Should we fix this?
>
> -Yonik
> http://www.lucidimagination.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

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


Mime
View raw message