How To Search the Documents with Phrase and other Keyword with in slop


We are working on analyzing the documents here We have got description field in my document.

We have the query for matching the phrase with slop which looks beautiful.
i.e. "Certified Operator" when we use this with match phrase with slop 2 looks good.

But We don't want to miss any document with Phrase and Keyword with in 20 words like
Phrase Query: "Municipal Fire Alarm System Technician Level I"
Keyword: "Certification"

How can we achive.

Do you use the term "Certification" as a filter in the search for the term "Municipal Fire Alarm System Technician Level I"?

Thank you for your answer!
But that brings all the document with both the filters,

but not the "Certification" Keyword in range between 20words.

Maybe you already solved the problem. If not, can you inform the mapping and an example document?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.