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 documentsStringOutputAdapteradapter=newStringOutputAdapter(OutputFormat.Html);// Creating a string output adapterindex.GetDocumentText(documents[0],adapter);// Generating a document text into the adapterStringresult=adapter.GetResult();// Getting a result