You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2011/01/18 20:36:43 UTC

[jira] Resolved: (LUCENE-2472) The terms index divisor in IW should be set via IWC not via getReader

     [ https://issues.apache.org/jira/browse/LUCENE-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shai Erera resolved LUCENE-2472.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.0)

You're right Mike. I committed the deprecation note to revision 1060545.

> 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
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org