Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-751

WordDelimiterFilter doesn't adjust startOffset

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None
    • None

    Description

      If the first character of a token gets stripped the startOffset of that token is not adjusted. With the last character it behaves as expected. I'll attach a patch for the TestWordDelimiterFilter testcase which reproduces that issue shortly.

      Attachments

        1. SOLR-751.patch
          3 kB
          Stefan Oestreicher
        2. SOLR-751.patch
          1 kB
          Stefan Oestreicher

        Activity

          People

            Unassigned Unassigned
            dlx Stefan Oestreicher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: