You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official documentation of custom analyzer mentions that type parameter is optional for custom analyzers. However, the java client throws an exception if the type parameter is missing. Behaviour should be consistent with the docs
Exception:
Error deserializing co.elastic.clients.elasticsearch._types.analysis.Analyzer: Property 'type' not found (JSON path: ['test-idx'].settings.index.analysis.analyzer.text_custom_analyzer) (line no=1, column no=1236, offset=-1)
The text was updated successfully, but these errors were encountered:
This was fixed in recent client versions, thanks for the report! @p4charu if the other error you're reporting still exists please open another issue and we'll take a look there :)
Java API client version
8.3.2
Java version
8
Elasticsearch Version
8.3
Problem description
The official documentation of custom analyzer mentions that
type
parameter is optional for custom analyzers. However, the java client throws an exception if thetype
parameter is missing. Behaviour should be consistent with the docsException:
Error deserializing co.elastic.clients.elasticsearch._types.analysis.Analyzer: Property 'type' not found (JSON path: ['test-idx'].settings.index.analysis.analyzer.text_custom_analyzer) (line no=1, column no=1236, offset=-1)
The text was updated successfully, but these errors were encountered: