Elasticsearch 8.5 scenarios to Retrieve Documents with Multi-Field Query Using Match
I'm confused about I'm working with Elasticsearch 8.5 and trying to perform a multi-field search using a `match` query to retrieve documents that contain specific keywords in either the title or the body of the documents. However, I'm not getting any results when I expect to receive matches. Here's the relevant part of my query: ```json { "query": { "bool": { "should": [ { "match": { "title": "Elasticsearch" } }, { "match": { "body": "search" } } ] } } } ``` I've indexed some documents this way: ```json PUT /my_index/_doc/1 { "title": "Introduction to Elasticsearch", "body": "Elasticsearch is a distributed search engine." } PUT /my_index/_doc/2 { "title": "Using Elasticsearch for Data Analysis", "body": "Data search and analytics is powerful with Elasticsearch." } ``` When I run the query, I'm getting an empty response: ```json { "took": 5, "timed_out": false, "_shards": { "total": 5, "successful": 5, "failed": 0 }, "hits": { "total": { "value": 0, "relation": "eq" }, "hits": [] } } ``` I checked the index and it seems to be created correctly with both fields mapped as text. I also tried using `match_phrase` instead of `match`, but that didn't yield any results either. What could be causing this scenario? Is there something I'm missing in terms of analysis or tokenization that might be affecting the search results? Any insights would be greatly appreciated! Any ideas how to fix this? My team is using Json for this CLI tool.