[ https://issues.apache.org/jira/browse/LUCENE-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983189#action_12983189 ]
Shai Erera commented on LUCENE-2472: ------------------------------------ This is already set on IWC (set/getReaderTermsIndexDivisor). So I guess all that's needed is to deprecate IW.getReader(int) on 3x and remove from trunk? > The terms index divisor in IW should be set via IWC not via getReader > --------------------------------------------------------------------- > > Key: LUCENE-2472 > URL: https://issues.apache.org/jira/browse/LUCENE-2472 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.1, 4.0 > > > The getReader call gives a false sense of security... since if deletions have > already been applied (and IW is pooling) the readers have already been loaded > with a divisor of 1. > Better to set the divisor up front in IWC. -- 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org