You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael McCandless (Jira)" <ji...@apache.org> on 2021/06/25 16:19:00 UTC

[jira] [Resolved] (LUCENE-10009) wrong message in Lucene 7.4.0

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

Michael McCandless resolved LUCENE-10009.
-----------------------------------------
    Fix Version/s: 8.10
                   main (9.0)
       Resolution: Fixed

Thanks [~yangsongbai]!

> wrong message in Lucene 7.4.0
> -----------------------------
>
>                 Key: LUCENE-10009
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10009
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>    Affects Versions: 7.4
>            Reporter: yangsongbai
>            Priority: Major
>              Labels: easyfix
>             Fix For: main (9.0), 8.10
>
>
> {quote}in file   
> {{}}
> {code:java}
> {code}
> {{org.apache.lucene.index.IndexWriter.java}}{{}}
>  
> {{}}
> {code:java}
> private int mergeMiddle(MergePolicy.OneMerge merge, MergePolicy mergePolicy) throws IOException
> infoStream.message("IW", "merge codec=" + codec + " maxDoc=" + merge.info.info.maxDoc() + "; merged segment has " +
>                              (mergeState.mergeFieldInfos.hasVectors() ? "vectors" : "no vectors") + "; " +
>                              (mergeState.mergeFieldInfos.hasNorms() ? "norms" : "no norms") + "; " + 
>                              (mergeState.mergeFieldInfos.hasDocValues() ? "docValues" : "no docValues") + "; " + 
>                              (mergeState.mergeFieldInfos.hasProx() ? "prox" : "no prox") + "; " + 
>                              (mergeState.mergeFieldInfos.hasProx() ? "freqs" : "no freqs") + "; " +
>                              (mergeState.mergeFieldInfos.hasPointValues() ? "points" : "no points") + "; " +
>                              String.format(Locale.ROOT,
>                                            "%.1f sec%s to merge segment [%.2f MB, %.2f MB/sec]",
>                                            sec,
>                                            pauseInfo,
>                                            segmentMB,
>                                            segmentMB / sec));
> {code}
> {{(mergeState.mergeFieldInfos.hasProx() ? "freqs" : "no freqs") wrong message}}
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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