added the code for phrase query processing in ranker.