Wildcard phrase search using query_string

I use query_string to generate phrase queries with a proximity, on Elasticsearch 7.9.3
Does query_string work with wildcard? I found some old similar questions, there wasn't the way to do it.

Here is my query:

                "query_string": {
                  "query":"\"use cas*\"~5",
                  "fields": [
                    "title",
                    "text"
                  ],
                  "default_operator": "and",
                  "analyze_wildcard": true,
                  "auto_generate_synonyms_phrase_query": false
                }

I got 0 result.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.