limit the query word size to 10