[ https://issues.apache.org/jira/browse/LUCENE-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608479#action_12608479 ]
Karl Wettin commented on LUCENE-1312: ------------------------------------- bq. Is there an easy way to add a InstantiatedIndexWriter.addIndexes(IndexReader[] readers) method? Seems doable with the InstantiatedIndex(IndexReader sourceIndexReader) constructor however I want to me able to merge another IndexReader in. 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. I think it should be discussed in a new issue. > InstantiatedIndexReader does not implement getFieldNames properly > ----------------------------------------------------------------- > > Key: LUCENE-1312 > URL: https://issues.apache.org/jira/browse/LUCENE-1312 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/* > Reporter: Jason Rutherglen > Assignee: Karl Wettin > Attachments: lucene-1312.patch, lucene-1312.patch, lucene-1312.patch, > lucene-1312.patch, lucene-1312.patch > > > Causes error in org.apache.lucene.index.SegmentMerger.mergeFields -- 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]