[ https://issues.apache.org/jira/browse/LUCENE-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774668#action_12774668 ]
Michael McCandless commented on LUCENE-1589: -------------------------------------------- bq. This could probably just throw an exception if the passed in reader is not read-only? We could do that, but I think it defeats using it for NRT? Though I think it'd still be very useful (and we'd then deprecate the addIndexes(IndexReader[]) that does optimization). > IndexWriter.addIndexesNoOptimize(IndexReader[] readers) > ------------------------------------------------------- > > Key: LUCENE-1589 > URL: https://issues.apache.org/jira/browse/LUCENE-1589 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Affects Versions: 2.4.1 > Reporter: Jason Rutherglen > Priority: Minor > Fix For: 3.1 > > Original Estimate: 168h > Remaining Estimate: 168h > > Similar to IndexWriter.addIndexesNoOptimize(Directory[] dirs) > but for IndexReaders. This will be used to flush cloned ram > indexes to disk for near realtime indexing. -- 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: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org