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

[PATCH] PerFieldAnalyzerWrapper fails to implement getPositionIncrementGap()

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • modules/analysis
    • None
    • Any

    Description

      The attached patch causes PerFieldAnalyzerWrapper to delegate calls to getPositionIncrementGap() to the analyzer that is appropriate for the field in question. The current behavior without this patch is to always use the default value from Analyzer, which is a bug because PerFieldAnalyzerWrapper should behave just as if it was the analyzer for the selected field.

      Attachments

        Activity

          People

            Unassigned Unassigned
            manawiz Chuck Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: