Markovian semantic indexingprovide a novel method for a higher precision of image retrieval from image search engines. Here introduce a new topic for automatic annotation, indexing and annotation-based retrieval of images. A new frame work to construct an Aggregate Markov Chain(AMC) through which the relevance between the keywords is defined and the queries are also used to automatically annotate the images. The new method is used to call Markovian Semantic Indexing is presented by context of image retrieval system in online. The properties of Markovian Semantic Indexing make it particularly suitable for Annotation-based Image Retrieval (ABIR) tasks when the per image data is limited. Here introduced a method to find a stochastic distance between images, based on their annotation and the keyword relevance captured in the AMC. Investigate the relation to a clustering in the keyword space and geometric interpretations of the proposed distance. And also prove by means of a new measure of Markovian state similarity, the mean first cross passage time(CPT),optimally properties of the proposed distance. Images are mapped as points in a vector space and their similarity is calculated with a MSI.