Text Query has been replaced by Match Query

Closes #5727.
(cherry picked from commit 0cebbf1)