The example demonstrates a typical usage of the class.
stringindexFolder=@"c:\MyIndex\";stringdocumentsFolder=@"c:\MyDocuments\";Indexindex=newIndex(indexFolder);// Creating an index in the specified folderindex.Add(documentsFolder);// Indexing documents from the specified folderDocumentInfo[]documents=index.GetIndexedDocuments();// Getting information on indexed documentsFileOutputAdapteradapter=newFileOutputAdapter(@"c:\DocumentText.htm");// Creating a file output adapterindex.GetDocumentText(documents[0],adapter);// Generating a document text into the output file