Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10808

Enable DocValues by default for primitive and sorting fields, unless explicitly disabled

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • 9.7
    • None

    Description

      Spinning this idea off of SOLR-10803 where Uwe suggested it...

      I'd suggest to also enable DocValues by default for all string/numeric/date fields, unless explicitly disabled.

      This would be fairly easy to do – we just bump up the "schema version" and change the default for docValues in the affected FieldTypes (or perhaps in PrimitiveFieldType? Just like OMIT_NORMS ? ... Need to think about that a bit more.)

       

      These field will include:

      • PrimitiveField (Numbers/Dates/String/UUID/Enum) - Without DenseVectors
      • SortableTextField
      • ICUCollationField
      • LatLonPointSpacialField
      • SortableTextField
      • SortableBinaryField

      Attachments

        Issue Links

          Activity

            People

              houston Houston Putman
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m