Lucene - Core
  1. Lucene - Core
  2. LUCENE-5324

Make AnalyzerWrapper.get(Offset|PositionIncrement)Gap non-final

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.6
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      It can sometimes be useful to reconfigure the position and offset gaps of an existing analyzer.

        Activity

        Hide
        Adrien Grand added a comment -

        Here is a patch.

        Show
        Adrien Grand added a comment - Here is a patch.
        Hide
        Uwe Schindler added a comment -

        +1, this looks good to me. I have no idea why this was final at all. Those 2 settings were impossible to change by wrapping,

        Show
        Uwe Schindler added a comment - +1, this looks good to me. I have no idea why this was final at all. Those 2 settings were impossible to change by wrapping,
        Hide
        ASF subversion and git services added a comment -

        Commit 1538557 from Adrien Grand in branch 'dev/trunk'
        [ https://svn.apache.org/r1538557 ]

        LUCENE-5324: AnalyzerWrapper.get(PositionIncrement|Offset)Gap can now be overridden.

        Show
        ASF subversion and git services added a comment - Commit 1538557 from Adrien Grand in branch 'dev/trunk' [ https://svn.apache.org/r1538557 ] LUCENE-5324 : AnalyzerWrapper.get(PositionIncrement|Offset)Gap can now be overridden.
        Hide
        Adrien Grand added a comment -

        Committed. Thanks for the review, Uwe!

        Show
        Adrien Grand added a comment - Committed. Thanks for the review, Uwe!
        Hide
        ASF subversion and git services added a comment -

        Commit 1538561 from Adrien Grand in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1538561 ]

        LUCENE-5324: AnalyzerWrapper.get(PositionIncrement|Offset)Gap can now be overridden.

        Show
        ASF subversion and git services added a comment - Commit 1538561 from Adrien Grand in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1538561 ] LUCENE-5324 : AnalyzerWrapper.get(PositionIncrement|Offset)Gap can now be overridden.

          People

          • Assignee:
            Adrien Grand
            Reporter:
            Adrien Grand
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development