process query done. TODO: stemming of each word
TODO: stemming of terms in query