Wildcard search
Edit pageSearch keywords and text with wildcards
Section titled “Search keywords and text with wildcards”Index keywords values
Section titled “Index keywords values”PUT /test/querydsl/wildcard/keyword/doc
{ "_id": { "_type": "keyword", }, "field": { "_type": "keyword", "_value": "dynamic categorisation" }}Search wildcard
Section titled “Search wildcard”SEARCH /test/querydsl/wildcard/keyword/A keyword is one term, so a wildcard matches the start of the whole value.
Index text values
Section titled “Index text values”PUT /test/querydsl/wildcard/text/doc
{ "_id": { "_type": "keyword", }, "field": { "_type": "text", "_value": "dynamic categorisation" }}Search wildcard
Section titled “Search wildcard”SEARCH /test/querydsl/wildcard/text/