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

Wrong trailing index calculation in PatternReplaceCharFilter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Reimplementation of PatternReplaceCharFilter to pass randomized tests (used to throw exceptions previously). Simplified code, dropped boundary characters, full input buffered for pattern matching.

        Attachments

        1. LUCENE-3820_test.patch
          9 kB
          Robert Muir
        2. LUCENE-3820_test.patch
          7 kB
          Robert Muir
        3. LUCENE-3820.patch
          23 kB
          Dawid Weiss
        4. LUCENE-3820.patch
          7 kB
          Dawid Weiss

          Activity

            People

            • Assignee:
              dweiss Dawid Weiss
              Reporter:
              dweiss Dawid Weiss
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: