elastic/elasticsearch-java

Regarding termvectors query related issues

asdaerwrte opened this issue · 1 comments

Java API client version

8.8.1

Java version

8

Elasticsearch Version

8.8.1

Problem description

In the case where the ID query is not applicable, the returned value does not have an ID, but your verification ID cannot be empty in any case
image
image

Hello, thanks for the report! Yes, id in TermVectorResponse should be optional since the server doesn't return it when it's not specified in the request. We'll fix it in the API specification used to produce the Java code and regenerate the client to fix it.