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

[PATCH] PerFieldAnalyzerWrapper fails to implement getPositionIncrementGap()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: modules/analysis
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: