当前位置:网站首页>Es composite query workload evaluation

Es composite query workload evaluation

2022-06-21 10:13:00 Java little white and white

1. Problem description

         I have a problem recently ,ES There is one of them. 【 Vehicle type 】 Field of , The product wants to query this field at the same time null And the value is 1 or 2 or 3 Result .

2. Pit point

         The pitfall of this problem is not in writing query logic , It's about ES Compound query if When a query field needs to be added for phase I requirements and this field is not an equivalent query , Be sure to evaluate the workload carefully , Maybe the whole screening structure should be changed ...

3. Solution

         The implementation scheme is very simple , utilize should Combine must not Just fine .

原网站

版权声明
本文为[Java little white and white]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211011424100.html