The example demonstrates how to get the text 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();// Getting a document textif(documents.Length>0){FileOutputAdapteroutputAdapter=newFileOutputAdapter(@"C:\Text.html");index.GetDocumentText(documents[0],outputAdapter);}