lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-2472) The terms index divisor in IW should be set via IWC not via getReader
Date Tue, 18 Jan 2011 19:36:43 GMT

     [ 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


Mime
View raw message