I'd like to add a field to every document in an index... that I'd rather
not rebuild from scratch (yet). This is behind Solr (so a ParallelReader
won't work without core modifications, right?).
Is there a way I could create an index with the same number of documents
and only the new field and "zip" it together with my existing index?
Well, IndexWriter#addIndexes does take an IndexReader. I don't suppose you
can just create a ParallelReader and then add that IndexReader to a new,
empty IndexWriter. It seems like it would work in theory.
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699
Web: http://nuix.com/ Fax: +61 2 9212 6902
This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]