process query done. TODO: stemming of each word