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

Make it easier to iterate over graphs in tokenstreams

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None
    • New

    Description

      We have a number of TokenFilters that read ahead in the token stream (eg synonyms, shingles) and ideally these would understand token graphs as well as linear streams. FixedShingleFilter already has some mechanisms to deal with graphs; this issue is to extract this logic into a GraphTokenStream class that can then be reused by other token filters

      Attachments

        1. LUCENE-8564.patch
          32 kB
          Alan Woodward
        2. LUCENE-8564.patch
          32 kB
          Alan Woodward
        3. LUCENE-8564.patch
          33 kB
          Alan Woodward

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: