Java API client version
7.17.1
Java version
openjdk version "1.8.0_322@
Elasticsearch Version
7.17.1
Problem description
Highlighting has the parameters force_source and phrase_limit for the highlight itself and for highlight fields (https://www.elastic.co/guide/en/elasticsearch/reference/8.0/highlighting.html).
Both parameters are missing in co.elastic.clients.elasticsearch.core.search.Highlight. They are available for co.elastic.clients.elasticsearch.core.search.HighlightField but according to the docs and implementation in the old client, they should be available in Highlight as well.
Java API client version
7.17.1
Java version
openjdk version "1.8.0_322@
Elasticsearch Version
7.17.1
Problem description
Highlighting has the parameters
force_sourceandphrase_limitfor the highlight itself and for highlight fields (https://www.elastic.co/guide/en/elasticsearch/reference/8.0/highlighting.html).Both parameters are missing in
co.elastic.clients.elasticsearch.core.search.Highlight. They are available forco.elastic.clients.elasticsearch.core.search.HighlightFieldbut according to the docs and implementation in the old client, they should be available inHighlightas well.