Sam_Barham
(Sam Barham)
November 23, 2016, 10:42pm
1
I've recently started using ES 5.0 on Elastic Cloud. The logs are showing me lots of warnings of the form:
[WARN ][org.elasticsearch.deprecation.common.ParseField] Deprecated field [type] used, replaced by [match_phrase and match_phrase_prefix query]
I don't know where to look to fix these warnings, and Google isn't showing me anything. Any hints?
jpountz
(Adrien Grand)
November 25, 2016, 3:09pm
2
I suspect you are using a match
query with eg. type: phrase
, which should be replaced with a match_phrase
query.
Sam_Barham
(Sam Barham)
November 29, 2016, 3:52am
3
I figured out what it was - logstash was applying a pre-5.0 template to the logs, which was then causing all the warnings
system
(system)
Closed
December 27, 2016, 3:52am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.