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

MoreLikeThis - allow to exclude terms that appear in too many documents (patch included)

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.9
    • 3.0
    • modules/other
    • None
    • New, Patch Available

    Description

      The MoreLikeThis class allows to generate a likeness query based on a given document. So far, it is impossible to suppress words from the likeness query, that appear in almost all documents, making it necessary to use extensive lists of stop words.

      Therefore I suggest to allow excluding words for which a certain absolute document count or a certain percentage of documents is exceeded. Depending on the corpus of text, words that appear in more than 50 or even 70% of documents can usually be considered insignificant for classifying a document.

      Attachments

        1. MoreLikeThis.java.patch
          3 kB
          Christian Steinert

        Activity

          People

            mikemccand Michael McCandless
            csteinert Christian Steinert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified