query searches and returns string vector