You just need to be more specific about which class 'Document' is in "new Document".
So change to
documentIndex.AddDocument(new Keyoti.SearchEngine.Documents.Document("http://localhost/CM/Uploads/CM/Contract%20Documents/PDF/04Feb15-01.pdf", configuration));
}
Jim
-your feedback is helpful to other users, thank you!-your feedback is helpful to other users, thank you!