Re: storing pre-analyzed fields

2012-07-11 Thread Michael Sokolov
d instances for each type as you like. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Michael Sokolov [mailto:soko...@ifactory.com] Sent: Wednesday, July 11, 2012 2:54 AM To: java-user@lucene.apache.org

RE: storing pre-analyzed fields

2012-07-10 Thread Uwe Schindler
ww.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Michael Sokolov [mailto:soko...@ifactory.com] > Sent: Wednesday, July 11, 2012 2:54 AM > To: java-user@lucene.apache.org > Subject: storing pre-analyzed fields > > I have a question about the API for

storing pre-analyzed fields

2012-07-10 Thread Michael Sokolov
I have a question about the API for storing and indexing lucene documents (in 3.x). If I want to index a document by providing a TokenStream, I can do that by calling document.add (field) where field is something I write deriving from AbstractField that returns the TokenStream for tokenStream