Support retreiving the position of word in documents.