Implemented the text search module