[
https://issues.apache.org/jira/browse/SOLR-10808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Houston Putman reopened SOLR-10808:
-----------------------------------
I'm going back and making the list of fields supported explicit.
This is because if docValues are added to fields after this Solr version (for
example if SOLR-10255 was added in the next version), then the code will
default the docValues=true when users upgrade to the new version. This will
break users indexes, because docValues cannot be added in-place.
Therefore we are going to make the option opt-in. Existing fieldTypes should
not add this in the future, as it will make indexes non-compatible. However new
field types are free to enable it, because users won't be upgrading with fields
that do not have docValues (as the field type did not previously exist).
> Enable DocValues by default for primitive and sorting fields, unless
> explicitly disabled
> ----------------------------------------------------------------------------------------
>
> Key: SOLR-10808
> URL: https://issues.apache.org/jira/browse/SOLR-10808
> Project: Solr
> Issue Type: Task
> Reporter: Chris M. Hostetter
> Assignee: Houston Putman
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.7
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Spinning this idea off of SOLR-10803 where Uwe suggested it...
> {quote}I'd suggest to also enable DocValues by default for all
> string/numeric/date fields, unless explicitly disabled.
> {quote}
> 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)
> * SortableTextField
> * ICUCollationField
> * LatLonPointSpacialField
> * SortableTextField
> * SortableBinaryField
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]