You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering in the simple search. If it would be possible to highlight the search result, for example when user enters search query in the simple search, would it be possible to also highlight the search query in the results field.
If you want me to post question on discus.elastic.co, I'll post is there too.
I wasn't sure if you meant in the tool or in elasticsearch in general. If it is a question for the tool there is no need to post it in discuss. But now I understand you, I'll make it an enhancement. Planning some time the coming weeks to do some updates to the tool.
How do you highlight simple search results?
It would be great if simple search strings are also highlighted in the results page.
I tried something like this but failed miserably. :(
[query_parsing_exception] [simple_query_string] query does not support [pre_tags]
executedQuery = { "simple_query_string": { "query": vm.search.simple, "highlight" : { "pre_tags" : ["<tag1>", "<tag2>"], "post_tags" : ["</tag1>", "</tag2>"], "fields" : { "_all" : {} } },
The text was updated successfully, but these errors were encountered: