Solr
  1. Solr
  2. SOLR-1398

PatternTokenizerFactory ignores offset corrections

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4
    • Component/s: Schema and Analysis
    • Labels:
      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.

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

        Activity

          People

          • Assignee:
            Koji Sekiguchi
            Reporter:
            Anders Melchiorsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development