On 2010-01-13 15:29, Benjamin Heilbrunn wrote:
Thanks!
Didn't know that it's so easy ;)

2010/1/13 Uwe Schindler<[email protected]>:
Why not simply add the field twice, one time with TokenStream, one time stored 
only? Internally stored/indexed fields are handled like that.

Actually, you can implement your own Fieldable, and return what you want from its methods. You can also use Field constructor that takes the stored value, and then use Field.setTokenStream(TokenStream) - it doesn't override the stored value.


--
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to