2
我們如何在彈性搜索中結合AND/OR查詢。例如,以下是我們的文件And +或使用彈性搜索REST API查詢
{"title": "MI2", "brand": "Xiomi","operatingSystem": "Android"},
{"title": "Nexus","brand": "Google","operatingSystem": "Android"},
{"title": "Samsung Note","brand": "Samsung","operatingSystem": "Android"},
{"title": "Samsung Galaxy","brand": "Samsung","operatingSystem": "Android"}
現在我們如何從Samsung或Xiomi查詢Android手機。
(OperatingSystem的== 「機器人」)AND(品牌== 「三星」 或品牌== 「Xiomi」)