Elasticsearch: Find substring match
To search for partial field matches and exact matches, it will work better if you define the fields as “not analyzed” or as keywords (rather than text), then use a wildcard query. See also this. To use a wildcard query, append * on both ends of the string you are searching for: POST /my_index/my_type/_search { … Read more