Criteria implementation on indexes updated. Query execution for
criterias are implemented.