ES subquery

Hello, help pls to solve some task.
I have some complex "query_string" = ( field1:text AND field2:text2 NOT...) AND (... OR ....)
But I also need operation for finding like [WORDS WITH INTERVAL] = regex('/text1 [a-z]+ [a-z]+ text2 /':wink:
How to combine it all together.
First find by reqex and then put results in query_string?

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