Skip to content

force_source and phrase_limit parameters missing to build highlight queries #185

Closed
@sothawo

Description

@sothawo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions