changed the query text to get ranked text, whcih is normalized. Assumes document is already normalized