[ https://issues.apache.org/jira/browse/LUCENE-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608524#action_12608524 ]
Jason Rutherglen commented on LUCENE-1317: ------------------------------------------ The problem with this is, if the fields is only indexed without vector offsets and not stored. Is there a way to handle these types of fields? The Token equals you are mentioning is handled in the DocumentsWriter code, however without payloads. There may be a better way to do this reusing some of the SegmentMerger code. > 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 > Assignee: Karl Wettin > > 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]