I am trying to translate my query language to ES. I have the following operators
AND, OR, NEAR, and NOT and I want to use any combination of them.
(A OR B*) NEAR (C OR "D E")
NOT A OR NOT B
Using Span* I can implement AND OR and NEAR, but not NOT, however using bool I can implement