示例#1
0
 public MongoFhirIndex(MongoIndexStore store, Definitions definitions)
 {
     this.definitions = definitions;
     this.indexStore = store;
     this.indexer = new MongoIndexer(store, definitions);
     this.searcher = new MongoSearcher(store.Collection);
 }
示例#2
0
 public MongoFhirIndex(MongoIndexStore store, Definitions definitions)
 {
     this.definitions = definitions;
     this.indexStore  = store;
     this.indexer     = new MongoIndexer(store, definitions);
     this.searcher    = new MongoSearcher(store.Collection);
 }
示例#3
0
 public MongoFhirIndex(MongoIndexStore indexStore, MongoIndexer indexer, MongoSearcher searcher)
 {
     _indexStore = indexStore;
     _indexer = indexer;
     _searcher = searcher;
 }
示例#4
0
 public MongoIndexer(MongoIndexStore store, Definitions definitions)
 {
     this.store = store;
     this.definitions = definitions;
 }
 public MongoIndexer(MongoIndexStore store, Definitions definitions)
 {
     this.store       = store;
     this.definitions = definitions;
 }
示例#6
0
 public MongoFhirIndex(MongoIndexStore indexStore, MongoIndexer indexer, MongoSearcher searcher)
 {
     _indexStore = indexStore;
     _indexer    = indexer;
     _searcher   = searcher;
 }
示例#7
0
 public MongoSearcher(MongoIndexStore mongoIndexStore, ILocalhost localhost, IFhirModel fhirModel)
 {
     _collection = mongoIndexStore.Collection;
     _localhost = localhost;
     _fhirModel = fhirModel;
 }
 public static MongoFhirIndex GetMongoFhirIndex(MongoDatabase database, IEnumerable<ModelInfo.SearchParamDefinition> searchparameters)
 {
     MongoIndexStore store = new MongoIndexStore(database);
     Definitions definitions = DefinitionsFactory.Generate(searchparameters);
     return new MongoFhirIndex(store, definitions);
 }