EQL - Simplify nested query where expressions after parsing

This commit is contained in:
Robin Bygrave
2016-07-12 22:51:02 +12:00
parent 84b37fb014
commit ceab95e6c2
18 changed files with 145 additions and 20 deletions
@@ -13,7 +13,12 @@ import java.io.IOException;
*/
public interface SpiExpression extends Expression {
/**
/**
* Simplify nested expressions if possible.
*/
void simplify();
/**
* Write the expression as an elastic search expression.
*/
void writeDocQuery(DocQueryContext context) throws IOException;