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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4b9d2-44e27.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4b9d2-44e27.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?