jillesvangurp / kt-search

Multi platform kotlin client for Elasticsearch & Opensearch with easily extendable Kotlin DSLs for queries, mappings, bulk, and more.
MIT License
107 stars 22 forks source link

fixes highlightQuery in the highlight dsl #134

Closed AnyRoad closed 4 months ago

AnyRoad commented 5 months ago

Without esQueryProperty dsl does not call wrapWithName() automatically and query is not applied correctly.

Also, esQueryProperty does not apply field naming policy and for other one-word fields it does not change anything but for highlightQuery we have to apply it as highlight_query