adding support for word matching instead of full text matching