LP1281280: Improve query tree compression
authorMike Rylander <mrylander@gmail.com>
Tue, 15 Nov 2016 19:26:48 +0000 (14:26 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 15 Nov 2016 21:22:19 +0000 (16:22 -0500)
commit8e3f4262bd306f3d341f05b73dcbd4a19e4b9d44
treec4da91fb62886301ee89e7c88db54d660b72d5ae
parent16f4609c0294321b4fc4d196f38132cb7046a961
LP1281280: Improve query tree compression

In addition to collapsing adjacent nodes sharing the same boolean operator,
we'll now also do the following two things: collapse filters, facets and
modifiers when there exists only a single subnode; and absorb single node
subplans.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/QueryParser.pm