Is there a way to create a query to match a minimum number of words from a sentence, with the additional condition that the matching words must be at a maximum total distance from each other?
Here's an example:
Searching for "There are many science fiction and fantasy geeks." with minimum 3 words and max distance 6 would match:
"He was a science fiction and fantasy lover."
but not:
"In a science fiction story, the world is presented as being scientifically possible, while a science fantasy world contains elements which violate the scientific laws of the real world."