How to create a query with the wildcard

Assuming I have the next record in my Elasticsearch:

How can I query something like:

This doesn't work and it's expected, because if we wrap the query to the quotes, then it would search for the 1 to 1 correspondence.

When I want just to place a wildcard, instead of the url path.

If I query this:

The results would be too broad, because it would break the query by words.

Any suggestion?

did you solve this ?
I am having the same issue.

Wildcarded search in Lucene can be tricky depending on your settings and field mappings.

For your use case of looking for one term in some proximity of another, perhaps you can try a proximity search?