Beispiel #1
0
 public InMemorySearchEngine(InMemoryIndex index)
 {
     Index           = index;
     _indexingEngine = new InMemoryIndexingEngine(this);
     _queryEngine    = new InMemoryQueryEngine(this);
 }
Beispiel #2
0
 public InMemorySearchEngine()
 {
     _indexingEngine = new InMemoryIndexingEngine();
     _queryEngine    = new InMemoryQueryEngine(_indexingEngine.Index);
 }