Hi Jean, If you do not care about the order of the words, then use a phrase query with a slop of 3.
Otherwise, you could use a span query to achieve that. Regards Ameer On Thu, 1 Apr 2021 at 15:00, Jean Morissette <jean.morisse...@gmail.com> wrote: > Does someone know how to create a query for searching 2 words separated by > 0, 1, 2 or 3 gaps? > > Thanks >