Hi,
Our Elasticsearch installation was recently updated from 7.9.3 to 7.15.0. (The host operating system was updated from Ubuntu LTS 18 to 20 at the same time.) Following this update, the search scripts and programs were corrected to address deprecation warnings. Documents can be inserted and retrieved successfully, but the wildcard search functionality no longer works with 7.15.0. Looking at the search scripts:
- One script uses a wildcard following the instructions at Wildcard query | Elasticsearch Guide [7.15] | Elastic , but no longer returns results. Changing the script to use regexp has no effect and no results are returned.
- Scripts and programs that use the following combinations {"query" and "range"}, {"query", "bool", "must" and"match"} still work.
Is some server configuration needed to cause the wildcard search to start working again? The configuration file /etc/elasticsearch/elasticsearch.yml
was updated to explicitly include search.allow_expensive_queries: true
but this has no effect.
Thanks,
Will