Get document version in search results