Revamped internal working of QueryParser