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

PatternTokenizerFactory ignores offset corrections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.4
    • Schema and Analysis
    • None

    Description

      I have an analyzer with a MappingCharFilterFactory followed by a PatternTokenizerFactory. This causes wrong offsets, and thus wrong highlights.

      Replacing the tokenizer with WhitespaceTokenizerFactory gives correct offsets, so I expect the problem to be with PatternTokenizerFactory.

      Attachments

        1. SOLR-1398.patch
          6 kB
          Koji Sekiguchi
        2. SOLR-1398.patch
          4 kB
          Koji Sekiguchi

        Activity

          People

            koji Koji Sekiguchi
            andersm Anders Melchiorsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: