olivere / elastic

Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch

Home Page:https://olivere.github.io/elastic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The context field in the structure SearchSuggestionOption(in search.go) should change to be highlight

luxiao9999 opened this issue · comments

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.

Which version of Elastic are you using?

[ ] elastic.v7 (for Elasticsearch 7.x)

Please describe the expected behavior

The context field in the structure SearchSuggestionOption(in search.go) should change to be highlight,

Otherwise, the highlight field in es search results cannot be assigned in struct SearchSuggestionOption

Please describe the actual behavior

the highlight field in es search results cannot be assigned to context field in struct SearchSuggestionOption

Any steps to reproduce the behavior?

The context field in the structure SearchSuggestionOption(in search.go) should change to be highlight,