The organization and retrieval of information from hyper-linked documents is a challenging task for search engine expected to satisfy user queries with relevant content in first few top results displayed to the user. This arrangement implies in need of maintaining index of relevant context based pages. This paper provides a novel technique for indexing the web documents based on the context of keywords that helps a search engine to serve a query with more specific documents, and relevant contents.