Achieving AND with span query

I'm assuming that the way to achieve with multiple span queries is to use the "span_near" query with a really, really large number in the slop. Is this correct? If not, what is? I'm looking to combine a phrase with a wildcard ("word1 word2*") a word (word3) and another phrase ("word4 word5"). So, I can build all of those individual span queries, but I need to AND them together, I can only figure out that I use the "span_near" will a really large number (bigger than any text string I could possibly have).

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