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

Add a ConditionalTokenFilter

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.4
    • None
    • None
    • New

    Description

      Spinoff of LUCENE-8265. It would be useful to be able to wrap a TokenFilter in such a way that it could optionally be bypassed based on the current state of the TokenStream. This could be used to, for example, only apply WordDelimiterFilter to terms that contain hyphens.

      Attachments

        1. LUCENE-8273-part2-rebased.patch
          51 kB
          Steven Rowe
        2. LUCENE-8273-part2-rebased.patch
          47 kB
          Steven Rowe
        3. LUCENE-8273-part2.patch
          30 kB
          Steven Rowe
        4. LUCENE-8273-part2.patch
          50 kB
          Steven Rowe
        5. LUCENE-8273-2.patch
          16 kB
          Alan Woodward
        6. LUCENE-8273-2.patch
          24 kB
          Alan Woodward
        7. LUCENE-8273.patch
          6 kB
          Alan Woodward
        8. LUCENE-8273.patch
          15 kB
          Alan Woodward
        9. LUCENE-8273.patch
          15 kB
          Alan Woodward
        10. LUCENE-8273.patch
          25 kB
          Alan Woodward
        11. LUCENE-8273.patch
          40 kB
          Alan Woodward
        12. LUCENE-8273.patch
          41 kB
          Alan Woodward
        13. LUCENE-8273.patch
          42 kB
          Alan Woodward
        14. LUCENE-8273.patch
          42 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: