Lucene - Core
  1. Lucene - Core
  2. LUCENE-6041

remove sugar FieldInfo.isIndexed and .hasDocValues

    Details

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

      Description

      Follow-on from LUCENE-6039; these two booleans don't really exist: they are just sugar to check for IndexOptions.NO and DocValuesType.NO. I think for the low-level schema API in Lucene we should not expose such sugar: callers should have to be explicit.

      1. LUCENE-6041.patch
        28 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Simple patch.

        Show
        Michael McCandless added a comment - Simple patch.
        Hide
        ASF subversion and git services added a comment -

        Commit 1636166 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1636166 ]

        LUCENE-6041: remove FieldInfo.isIndex/hasDocValues sugar APIs

        Show
        ASF subversion and git services added a comment - Commit 1636166 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1636166 ] LUCENE-6041 : remove FieldInfo.isIndex/hasDocValues sugar APIs
        Hide
        ASF subversion and git services added a comment -

        Commit 1636218 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1636218 ]

        LUCENE-6041: remove FieldInfo.isIndex/hasDocValues sugar APIs

        Show
        ASF subversion and git services added a comment - Commit 1636218 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1636218 ] LUCENE-6041 : remove FieldInfo.isIndex/hasDocValues sugar APIs
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

          • Assignee:
            Michael McCandless
            Reporter:
            Michael McCandless
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development