Elasticsearch Partial Search
Contents
match
and match_phrase
do not work for partial searches. We can use wildcard
, query_string
or regexp
to match a partial string.
For example, search gt3p
in the content
column.
wildcard
1 | { |
query_string
1 | { |
regexp
1 | { |