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

More Like This Class Structure Refactor

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • modules/other
    • None
    • New

    Description

      Currently the MoreLikeThis is a giant monolithic class, difficult to maintain.
      Scope of this issue is to refactor the code, separating responsibilities of the main components and funcitonality :

      • MoreLikeThis facade - the entry point
      • MoreLikeThisParams - the huge set of params and defaults provided for the More Like This
      • Interesting Terms Retriever - given a document in input this component has the responsibility of identifying interesting terms
      • Term Scorer - given a term with document stats and collection stats, this module has the responsibility to score the term
      • Query Builder - given a set of params and interesting terms, this component has the responsibility to build the Lucene query

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abenedetti Alessandro Benedetti
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: