[ https://issues.apache.org/jira/browse/LUCENE-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727792#action_12727792 ]
Michael McCandless commented on LUCENE-1718: -------------------------------------------- Thanks Tim. This should be fixed with LUCENE-1609: DirectoryReader now holds onto the termInfosIndexDivisor and passes it when opening new SegmentReaders during reopen. > IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers > --------------------------------------------------------------------------- > > Key: LUCENE-1718 > URL: https://issues.apache.org/jira/browse/LUCENE-1718 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 2.9 > > > When you reopen a reader, some segments are shared (and thus properly inherit > the index divisor) but others are newly opened and use the default index > divisor. You then have no way to change the index divisor of those newly > opened ones. The only workaround is to not use reopen (always open a new > reader). > I'd like to make termInfosDivisor an up-front param to IndexReader, anyway, > for LUCENE-1609, so likely I'll fix both of these issues there. -- 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