How to count multiple keywords in Elasticsearch

Environment es 2.4.6

some index records the product list with a title column. Now you want to use title to count the product

.

enter apple , google , and count the number of products and total sales volume that include apple , google in the title respectively.

but I see that the es document did not find such a function, so what can be done to achieve it?

May.02,2021
Menu