The example demonstrates how to get a list of items of an indexed document from an index.
stringindexFolder=@"c:\MyIndex\";stringdocumentsFolder=@"c:\MyDocuments\";// Creating an index in the specified folderIndexindex=newIndex(indexFolder);// Indexing documents from the specified folderindex.Add(documentsFolder);// Getting list of indexed documentsDocumentInfo[]documents=index.GetIndexedDocuments();for(inti=0;i<documents.Length;i++){DocumentInfodocument=documents[i];Console.WriteLine(document.FilePath);DocumentInfo[]items=index.GetIndexedDocumentItems(document);// Getting list of document itemsfor(intj=0;j<items.Length;j++){DocumentInfoitem=items[j];Console.WriteLine("\t"+item.InnerPath);}}