예제 #1
0
 private void DeleteDocumentFromIndex(int documentId)
 {
     FSIndexer indexer = new FSIndexer();
     indexer.Delete(documentId);
     Response.Redirect("~/Index/Documents.aspx");
 }
예제 #2
0
 private void AddDocumentToLuceneIndex(int documentId)
 {
     FSIndexer indexer = new FSIndexer();
     indexer.Index(documentId);
     Response.Redirect("~/Index/Documents.aspx");
 }