[ https://issues.apache.org/jira/browse/LUCENE-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608550#action_12608550 ]
Karl Wettin commented on LUCENE-1317: ------------------------------------- bq. The problem with this is, if the fields is only indexed without vector offsets and not stored. Only use the vectors for the offsets, nothing else. Extract everything else (token text, posincr, payload, et c) from the inverted index using TermEnum and TermPositions. > 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]