Skip to content

Wildcard search

Edit page
PUT /test/querydsl/wildcard/keyword/doc
{
"_id": {
"_type": "keyword",
},
"field": {
"_type": "keyword",
"_value": "dynamic categorisation"
}
}
SEARCH /test/querydsl/wildcard/keyword/

A keyword is one term, so a wildcard matches the start of the whole value.

PUT /test/querydsl/wildcard/text/doc
{
"_id": {
"_type": "keyword",
},
"field": {
"_type": "text",
"_value": "dynamic categorisation"
}
}
SEARCH /test/querydsl/wildcard/text/