Пример #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 DoRemoveDocument(RemoveDocumentSubOptions verbSubOptions)
 {
     string documentID = verbSubOptions.DocumentID;
     FieldIndexSupport.RemoveDocuments(verbSubOptions.LuceneIndexRoot, documentID);
 }