lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Heilbrunn <>
Subject Field creation with TokenStream and stored value
Date Mon, 11 Jan 2010 17:14:04 GMT
Hey out there,

in lucene it's not possible to create a Field based on a TokenStream
AND supply a stored value.

Is there a reason why a Field constructor in the form of
   public Field(String name, TokenStream tokenStream, String storedValue)
does not exist?

I am using trees of TeeSinkTokenFilter's for the creation of many
fields, based on a source string.
That's the reason why I can't use the "standardconstructor"
    public Field(String name, String value, Store store, Index index)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message