I was wondering what would be the best possible way to write a ES query to fetch the documents in a way that
if the search query is like: 'elastic search'
Then on the top it will show all the documents with 'elastic search' in them
then on the last it will show documents having 'elastic' or 'search' in them.
is that possible in a single match query?