lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4316) Deprecate Fields.getUniqueTermCount, remove AtomicReader.getUniqueTermCount
Date Tue, 21 Aug 2012 14:52:38 GMT

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

Robert Muir resolved LUCENE-4316.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   5.0
    
> Deprecate Fields.getUniqueTermCount, remove AtomicReader.getUniqueTermCount
> ---------------------------------------------------------------------------
>
>                 Key: LUCENE-4316
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4316
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Robert Muir
>             Fix For: 5.0, 4.0
>
>         Attachments: LUCENE-4316.patch
>
>
> Spinoff from LUCENE-4315.
> This was my comment there:
> {noformat}
> we should consider Fields.getUniqueTermCount,
> which has a default implementation that sums across fields (preflex overrides).
> This was necessary to have some way to access the segment-level unique term count for
3.x indexes,
> which do not actually know this information per-field and override this method to provide
it.
> But there is no need to have this on AtomicReader (I think its way too expert, just get
the Fields
> and get it from there), and we can consider deprecating this in 4.x and removing it in
trunk
> alltogether as then someone can just use the field-level statistics.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message