Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-17038

/admin/segments handler: Expose the term count

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 9.6
    • None

    Description

      The term count for a field is not exposed for diagnostic purposes. Strangely enough, more obscure statistics like sumDocFreq and sumTotalTermFreq are.

      Just need to add a line like:

      fieldFlags.add("termCount", terms.size());

      to SegmentsInfoRequestHandler next to where those other stats are gathered.

      Attachments

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m