Beispiel #1
0
 public void Dispose()
 {
     if (_serviceInstance != null)
     {
         _serviceInstance.Dispose();
         _serviceInstance = null;
     }
 }
Beispiel #2
0
 private LuceneController()
 {
     _serviceInstance = new LuceneService(AppConfig.Instance.LuceneIndexFolder, LuceneMappingUtils.GetAnalyser());
 }