I want to search item "vision" for one field but I just got results like "vision A", "vision B", "xx version","vision" etc by using match/match_phrace/term in the DSL.
What I want is the exact match "vision" should have the highest score and the items which contain "vision" should rank behind the exact match. The ranking should be:
vision > vision A > vision B > xx version
I checked Elasticsearch match exact term in which change the "index" to be "not_analyzed" is recognized to realize exact match. But in my case not only exact match but also the containing match is needed.
What can I do for this case? Thanks!