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

Add support for type whitelist in TypeTokenFilter

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • modules/analysis
    • None
    • New, Patch Available

    Description

      A usual use case for TypeTokenFilter is allowing only a set of token types. That is, listing allowed types, instead of filtered ones. I'm attaching a patch to add a useWhitelist option for that.

      Attachments

        1. LUCENE-3744_2.patch
          3 kB
          Tommaso Teofili
        2. TypeTokenFilter_whitelst_lucene_and_solr.patch
          3 kB
          Santiago M. Mola
        3. TypeTokenFilter-whitelist.patch
          1 kB
          Santiago M. Mola

        Activity

          People

            teofili Tommaso Teofili
            smolav Santiago M. Mola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: