neo4j/neo4j — pull request #2328 by systay (2014-04-29 11:32:32+00:00)
Title: Normalize predicates before plan building

To plan predicate selection well, predicates
are now rewritten to conjunctive normal form
before planning starts.

Another difference is that And and Or expressions
are replaced with Ands and Ors so these can be
worked with as collections instead of trees.