An approach to a query extension based on an agglomerative clustering presented. Also the problem of retrieval of a topic development is solved.