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