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 and reuse the tokens in all documens (fields), perhaps using a CachingTokenFilter.

http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javadoc/org/apache/lucene/document/Field.html#Field(java.lang.String,%20org.apache.lucene.analysis.TokenStream)


--
karl


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to