Elasticsearch query using span_near and span_multi
I’m currently working on improving the accuracy of results returned from an Elasticsearch query by incorporating a “body” field into the search along with search fuzzyness. The website in question has a lot of content and is highly trafficked. I rebuilt the query using span_multi and span_near queries for improved accuracy with fuzzysearch, but it seems the rewrite overloaded my Elasticsearch servers and stopped search from working. Any pointers or observations on the existing and updated queries below?