You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2017/11/02 04:48:00 UTC

[jira] [Updated] (LUCENE-8007) Require that codecs always store totalTermFreq, sumDocFreq and sumTotalTermFreq

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

Robert Muir updated LUCENE-8007:
--------------------------------
    Attachment: LUCENE-8007.patch

Adrien i brought the patch up to speed, fixed codecs to return {{totalTermFreq=docFreq}} and {{sumTotalTermFreq=sumDocFreq}} in DOCS_ONLY cases, and tried to remove all the damage caused by -1 values in code/javadocs/checkindex/tests/etc.

> Require that codecs always store totalTermFreq, sumDocFreq and sumTotalTermFreq
> -------------------------------------------------------------------------------
>
>                 Key: LUCENE-8007
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8007
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Priority: Major
>             Fix For: master (8.0)
>
>         Attachments: LUCENE-8007.patch, LUCENE-8007.patch, LUCENE-8007.patch, LUCENE-8007.patch
>
>
> Javadocs allow codecs to not store some index statistics. Given discussion that occurred on LUCENE-4100, this was mostly implemented this way to support pre-flex codecs. We should now require that all codecs store these statistics.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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