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

Add a RequiredWordFilter that acts like the inverse of a StopFilter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • None
    • None

    Description

      Add a filter factory that only keeps tokens with text in the required word list.

      <filter class="solr.RequiredWordFilterFactory" ignoreCase="true" words="requiredwords.txt" />

      Attachments

        1. SOLR-253-RequireWords.patch
          9 kB
          Ryan McKinley
        2. SOLR-253-RequireWords.patch
          7 kB
          Ryan McKinley
        3. SOLR-253-RequireWords.patch
          7 kB
          Ryan McKinley

        Activity

          People

            ryantxu Ryan McKinley
            ryantxu Ryan McKinley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: