예제 #1
0
파일: Program.cs 프로젝트: yyt2019/Materal
        private static async Task Search(ElasticsearchHelper <Product, Guid> elasticsearchHelper, SearchDescriptor <Product> query)
        {
            List <Product> result = await elasticsearchHelper.SearchDocumentAsync(query);

            foreach (Product product in result)
            {
                Console.WriteLine(product.Name);
            }
        }