How to search inside multiple indices using Nest ElasticSearch?
问题 I have two indices with the following mapping(I will shortcut their mappings): 1) AccountType mapping: elasticClient.CreateIndex("account", i => i .Settings(s => s .NumberOfShards(2) .NumberOfReplicas(0) ) .Mappings(m => m .Map<AccountType>(map => map .AutoMap() .Properties(p => p .Text(c => c .Name(n => n.Name) .Analyzer("standard") ) .Text(c => c .Name(n => n.Description) .Analyzer("standard") ) ) ) ) ); 2) ProductType mapping: elasticClient.CreateIndex("proudct", i => i .Settings(s => s