Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-10009

wrong message in Lucene 7.4.0

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 7.4
    • 9.0, 8.10
    • core/index
    • New

    Description

      in file   

      {{}}

      
      

      org.apache.lucene.index.IndexWriter.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));
      
      

      (mergeState.mergeFieldInfos.hasProx() ? "freqs" : "no freqs") wrong message

      Attachments

        Activity

          People

            Unassigned Unassigned
            yangsongbai yangsongbai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: