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

Add IndexOptions.NO and DocValuesType.NO, instead of null

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0, 6.0
    • None
    • None
    • New

    Description

      Idea from Simon: it seems dangerous for IndexOptions and DocValuesType
      via Indexable/FieldType and FieldInfo that we use null to mean it's
      not indexed or has no doc values.

      We should instead have an explicit choice (IndexOptions.NO,
      DocValuesType.NO) in the enum?

      Attachments

        1. LUCENE-6039.patch
          230 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment