Implementation of boolean query parser (support of AND, OR and NOT).