Class RuleEngine
java.lang.Object
com.yahoo.prelude.semantics.engine.RuleEngine
Evaluates the rules of a rule base. This method is thread safe on analyze calls, but
not on modification calls.
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RuleEngine
-
-
Method Details
-
evaluate
Evaluates a rule base over a query- Parameters:
query
- the query to evaluatetraceLevel
- the level of tracing to do- Returns:
- the error caused by analyzing the query, or null if there was no error If there is an error, this query is destroyed (unusable)
-