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

LukeRequestHandler histogram excludes freq of 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4
    • None
    • None

    Description

      the TermHistogram class in the LukeRequestHandler seems to properly count the occurances of terms with a freq of "1", but then when converting to a NamedLIst begins iterating at bucket "2" so the counts for freq of "1" don't appear in the result.

      this may have been a conscious choice to eliminate superfluously high values for terms with a freq of one ... or it may have been a mistake assuming freq values of 1 would fall in the "2" bucket.

      Attachments

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: