A retrieval ranking method that prioritizes context based on its relevance to specific generation positions.