Strong term/words order search with words between

Hi, Is it possible to use elasticsearch for search all documents that contain 2-3 word with strong order, for example
I want to get all docs cantains (by query "for mobiles"):

for mobile phones
for Apple and Adnroid mobile phones 
for table and mobile phones

but not this docs:

mobile phone for womens
mobile phones for teens

I am trying to use match_phrase with slop, but it change words places if slop more than 2

Can anybody help?

Maybe try span near queries? You can specify whether the order must be preserved.

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-near-query.html

Mike McCandless

One problem with this approach is that those are term-style queries and not match-style queries. So they aren't pre-analyzed, IIRC.

Does it mean without morpological support?