示例#1
0
        public Options()
        {
            ReindexVerb = new ReindexSubOptions();
            ReindexGraphVerb = new ReindexGraphSubOptions();
            AddGraphDocumentVerb = new AddGraphDocumentSubOptions();
            AddDocumentVerb = new AddDocumentSubOptions();

            RemoveDocumentVerb = new RemoveDocumentSubOptions();
            QueryVerb = new QuerySubOptions();
        }
示例#2
0
 private static void DoReindexGraph(ReindexGraphSubOptions verbSubOptions)
 {
     GraphIndexSupport.ClearDB();
     DoAddGraphDocuments(new AddGraphDocumentSubOptions
     {
         CatalogueRepositoryRoot = verbSubOptions.CatalogueRepositoryRoot,
         DocumentFilter = verbSubOptions.DocumentFilter,
     });
 }