Retrieve document content with expansion and context