public Options() { ReindexVerb = new ReindexSubOptions(); ReindexGraphVerb = new ReindexGraphSubOptions(); AddGraphDocumentVerb = new AddGraphDocumentSubOptions(); AddDocumentVerb = new AddDocumentSubOptions(); RemoveDocumentVerb = new RemoveDocumentSubOptions(); QueryVerb = new QuerySubOptions(); }
private static void DoReindexGraph(ReindexGraphSubOptions verbSubOptions) { GraphIndexSupport.ClearDB(); DoAddGraphDocuments(new AddGraphDocumentSubOptions { CatalogueRepositoryRoot = verbSubOptions.CatalogueRepositoryRoot, DocumentFilter = verbSubOptions.DocumentFilter, }); }