Kill @Rewrite support in queries
These had been significantly pared down since almost all queries of consequence are sent as-is to the secondary index subsystem. The remaining queries just existed to simplify some arbitrary subtrees into slightly less complicated subtrees. This required almost a thousand lines of magical supporting code for something with no remaining performance benefit. Let it die a graceful death. Change-Id: I99ee92549b6619e7aa7529875149073f55c85c69
This commit is contained in:
@@ -116,7 +116,6 @@ conditionAnd2
|
||||
conditionNot
|
||||
: '-' conditionBase -> ^(NOT conditionBase)
|
||||
| NOT^ conditionBase
|
||||
| VARIABLE_ASSIGN^ conditionOr ')'!
|
||||
| conditionBase
|
||||
;
|
||||
conditionBase
|
||||
@@ -143,13 +142,6 @@ FIELD_NAME
|
||||
: ('a'..'z' | '_')+
|
||||
;
|
||||
|
||||
VARIABLE_ASSIGN
|
||||
: ('A'..'Z') ('A'..'Z' | 'a'..'Z')* '=' '(' {
|
||||
String s = $text;
|
||||
setText(s.substring(0, s.length() - 2));
|
||||
}
|
||||
;
|
||||
|
||||
EXACT_PHRASE
|
||||
: '"' ( ~('"') )* '"' {
|
||||
String s = $text;
|
||||
|
||||
Reference in New Issue
Block a user