Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2959 [GSoC] Implementing State of the Art Ranking for Lucene
  3. LUCENE-3173

Rename some classes and methods in the search package so their names describe their roles

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • flexscoring branch
    • None
    • core/search
    • None
    • New

    Description

      In an IRC discussion with Robert Muir, it has come up that the names of certain classes and methods in the search package do not describe the role of the class or method in question. Therefore, we propose the following name changes:

      • Scorer to Matcher
      • Similarity.computeWeight() to Similarity.computeStats()
      • Similarity.DocScorer to Similarity.Scorer*

      *: Under consideration.

      The reason for the name computeStats() is that this method will be used by the new Similarity subclasses to compute all the statistics they need, not just idf.

      Attachments

        1. irc.log
          0.7 kB
          David Mark Nemeskey

        Activity

          People

            david_nemeskey David Mark Nemeskey
            david_nemeskey David Mark Nemeskey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: