Is there a way in elasticsearch to boost the importance of the exact phrase appearing in the the document?
For example if I was searching for the phrase "web developer" and if the words "web developer" appeared together they would be boosted by 5 compared to "web" and "developer" appearing separately throughout the document. Thereby any document that contained "web developer" together would appear first in the results.
{ "query_string": { "query": "my exact phrase", "fields": ["typeA.fieldA", "typeB.fieldB"] } }
– Whyalla