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

UAX29URLEmailTokenizer fails to recognize emails as such when the mailto: scheme is prepended

    Details

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

      Description

      As reported by Kai G├╝lzau on solr-user:

      UAX29URLEmailTokenizer seems to split at the wrong place:

      mailto:test@example.org

      ->

      mailto:test
      example.org

      As a workaround I use

      <charFilter class="solr.PatternReplaceCharFilterFactory" pattern="mailto:" replacement="mailto: "/>
      

        Attachments

          Activity

            People

            • Assignee:
              steve_rowe Steve Rowe
              Reporter:
              steve_rowe Steve Rowe
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: