RE: Reusing indexed and analyzed documents

2008-01-21 Thread Ard Schrijvers
Hello, > 21 jan 2008 kl. 16.37 skrev Ard Schrijvers: > > > is there a way to reuse a Lucene document which was indexed and > > analyzed before, but only one single Field has changed? > Karl Wetting wrote: > I don't think you can reuse document instances like that, you > could however pre-token

Re: Reusing indexed and analyzed documents

2008-01-21 Thread Karl Wettin
Forget all I said! I managed to answer a question that was not there! :) If you have the term vectors stored it is fairly quick to re-assemble a token stream from the document using a TermVectorMapper. Otherwise it will be really slow. -- karl 22 jan 2008 kl. 08.04 skrev Karl Wettin: 2

Re: Reusing indexed and analyzed documents

2008-01-21 Thread Karl Wettin
21 jan 2008 kl. 16.37 skrev Ard Schrijvers: is there a way to reuse a Lucene document which was indexed and analyzed before, but only one single Field has changed? I don't think you can reuse document instances like that, you could however pre-tokenize them fields that will stay the same