Lucene - Core
  1. Lucene - Core
  2. LUCENE-6497

Allow subclasses of FieldType to check frozen state

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      checkIfFrozen() is currently private. We should this protected, so subclasses of FieldType can add additional state that is protected by freezing.

        Activity

        Hide
        Ryan Ernst added a comment -

        Simple patch.

        Show
        Ryan Ernst added a comment - Simple patch.
        Hide
        Michael McCandless added a comment -

        +1

        Show
        Michael McCandless added a comment - +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1681207 from Ryan Ernst in branch 'dev/trunk'
        [ https://svn.apache.org/r1681207 ]

        LUCENE-6497: Allow subclasses of FieldType to check frozen state

        Show
        ASF subversion and git services added a comment - Commit 1681207 from Ryan Ernst in branch 'dev/trunk' [ https://svn.apache.org/r1681207 ] LUCENE-6497 : Allow subclasses of FieldType to check frozen state
        Hide
        ASF subversion and git services added a comment -

        Commit 1681211 from Ryan Ernst in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1681211 ]

        LUCENE-6497: Allow subclasses of FieldType to check frozen state (merged r1681207)

        Show
        ASF subversion and git services added a comment - Commit 1681211 from Ryan Ernst in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1681211 ] LUCENE-6497 : Allow subclasses of FieldType to check frozen state (merged r1681207)
        Hide
        Ryan Ernst added a comment -

        I spoke with Anshum and will push this to 5.2 as well.

        Show
        Ryan Ernst added a comment - I spoke with Anshum and will push this to 5.2 as well.
        Hide
        ASF subversion and git services added a comment -

        Commit 1681212 from Ryan Ernst in branch 'dev/branches/lucene_solr_5_2'
        [ https://svn.apache.org/r1681212 ]

        LUCENE-6497: Allow subclasses of FieldType to check frozen state (merged r1681211)

        Show
        ASF subversion and git services added a comment - Commit 1681212 from Ryan Ernst in branch 'dev/branches/lucene_solr_5_2' [ https://svn.apache.org/r1681212 ] LUCENE-6497 : Allow subclasses of FieldType to check frozen state (merged r1681211)
        Hide
        Anshum Gupta added a comment -

        Bulk close for 5.2.0.

        Show
        Anshum Gupta added a comment - Bulk close for 5.2.0.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ryan Ernst
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development