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

Make TestRandomChains check that filters preserve positions

Details

    • Test
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • New

    Description

      Follow-up of LUCENE-8360: it is a bit disappointing that we only found this issue because of a newly introduced token filter. I'm wondering that we might be able to make TestRandomChains detect more bugs by verifying that the sum of position increments is preserved through the whole analysis chain.

      Attachments

        1. LUCENE-8361.patch
          3 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: