Beispiel #1
0
        public DocumentStorageWithFulltextSearch(IDocumentStorage <TDoc, TKey> storage, IStandaloneFulltextSearchEngine <TDoc, THeader, TKey> searchEngine)
        {
            Storage      = storage;
            SearchEngine = searchEngine;

            SupportedStemmerNames = LuceneIndex.GetAvailableSnowballStemmers().ToList();

            FulltextBackgroundTaskExecutor = new TaskExecutor();
        }
Beispiel #2
0
 public NoteStorage(IDocumentStorage <Note, string> storage, IStandaloneFulltextSearchEngine <Note, INoteHeader, string> searchEngine)
     : base(storage, searchEngine)
 {
 }