SERVER-8126: don't allow an array as a prefix of a text index
SERVER-8125: improve text command error handling of large results