Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When improving data-driven mode in SOLR-9526 we discussed back and forth whether to set useDocValuesAsStored for the *_str copy of text fields. This dynamic field is currently defined as
<dynamicField name="*_str" type="strings" stored="false" docValues="true" indexed="false" />
Having lived with the current setting since 7.0, I think it is too noisy to return all the _str fields since this is redundant content from the analysed original field. Thus I propose to do as Chris M. Hostetter initially suggested, and explicitly set it to false starting from 7.4:
<dynamicField name="*_str" type="strings" stored="false" indexed="false" docValues="true" useDocValuesAsStored="false" />
Note that this does not change how things are stored, only whether to display these by default. The *_str fields will still be available for sorting, faceting etc.