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

Remove IndexableFieldType.indexed()

Details

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

    Description

      Like LUCENE-6006, here's another pre-cursor for LUCENE-6005
      ... because I think it's important to nail down Lucene's low-schema
      (FieldType/FieldInfos) semantics before adding a high-schema.

      IndexableFieldType.indexed() is redundant with
      IndexableFieldType.indexOptions() != null, so we should remove it,
      codecs shouldn't have to write/read it, high-schema should not configure it, etc.

      Similarly, the FieldInfo.indexed bit is redundant, so I removed it, but I
      left the sugar API (FieldInfo.isIndexed) and implement it as just
      checking IndexOptions != null.

      Attachments

        1. LUCENE-6013.patch
          84 kB
          Michael McCandless
        2. LUCENE-6013.patch
          84 kB
          Michael McCandless
        3. LUCENE-6013.patch
          90 kB
          Michael McCandless
        4. LUCENE-6013.patch
          91 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: