Add InstantiatedIndexWriter.addIndexes(IndexReader[] readers)
-------------------------------------------------------------

                 Key: LUCENE-1317
                 URL: https://issues.apache.org/jira/browse/LUCENE-1317
             Project: Lucene - Java
          Issue Type: Improvement
          Components: contrib/*
            Reporter: Jason Rutherglen


Enable InstantiatedIndexWriter to have IndexReaders passed in like IndexWriter 
and merged into the index.  

Karl mentioned:
bq: It's doable. The simplest solution I can think of is to reconstruct all the 
documents in one single enumeration of the source index and then add them to 
the writer. I'm however not certain this is the best way nor if 
InstantiatedIndexWriter is the place for the code.

How would the documents be reconstructed without creating a lot of overhead?  
It seems like InstantiatedIndexWriter is the right place, given it is 
presumably more efficient to recreate all the IndexReaders and then commit?  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to