Fixed ElasticSearch 6.8.x deprecation warning spam due to XF searches

Affected version
2.1.4

Xon

Well-known member
Using XF2.1.4 and ElasticSearch 6.8.10, the elasticsearch_deprecation.log log file is repeatedly being spammed with this for every search;

Code:
[2020-07-16T12:21:11,512][WARN ][o.e.d.s.f.s.DocValueFieldsFetchSubPhase] [node01] There are doc-value fields which are not using a format. The output will change in 7.0 when doc value fields get formatted based on mappings by default. It is recommended to pass [format=use_field_mapping] with a doc value field in order to opt in for the future behaviour and ease the migration to 7.0: [discussion_id, user, date]
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFES release (2.2.0 Beta 2).

Change log:
Use field mapping for docvalue fields in Elasticsearch 6
There may be a delay before changes are rolled out to the XenForo Community.
 
Top