Re: Field creation with TokenStream and stored value

2010-01-13 Thread Andrzej Bialecki
On 2010-01-13 15:29, Benjamin Heilbrunn wrote: Thanks! Didn't know that it's so easy ;) 2010/1/13 Uwe Schindler: 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 F

Re: Field creation with TokenStream and stored value

2010-01-13 Thread Benjamin Heilbrunn
ee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > >> -Original Message- >> From: Benjamin Heilbrunn [mailto:ben...@gmail.com] >> Sent: Wednesday, January 13, 2010 2:31 PM >> To: java-user@lucene.apache.org >> Subject: Re: Field creation w

RE: Field creation with TokenStream and stored value

2010-01-13 Thread Uwe Schindler
njamin Heilbrunn [mailto:ben...@gmail.com] > Sent: Wednesday, January 13, 2010 2:31 PM > To: java-user@lucene.apache.org > Subject: Re: Field creation with TokenStream and stored value > > Sorry for pushing this thing. > > Would it be possible to add the demanded constructor or w

Re: Field creation with TokenStream and stored value

2010-01-13 Thread Benjamin Heilbrunn
Sorry for pushing this thing. Would it be possible to add the demanded constructor or would it break anything of lucenes logic? 2010/1/11 Benjamin Heilbrunn : > 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 rea