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 14:36:00 UTC
[jira] [Commented] (LUCENE-10009) wrong message in Lucene 7.4.0
[ https://issues.apache.org/jira/browse/LUCENE-10009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17369501#comment-17369501 ]
Michael McCandless commented on LUCENE-10009:
---------------------------------------------
Whoa, good catch! This bug is still present in mainline – I'll fix there and backport for 8.10.0. 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
>
> {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