Deprecated: Use the official Elasticsearch client for Go at https://github.com/elastic/go-elasticsearch
7.39k
stars
1.15k
forks
source link
The context field in the structure SearchSuggestionOption(in search.go) should change to be highlight #1677
Open
luxiao9999 opened 1 year ago
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,