Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider deprecating/ removing support for wildcards in term queries on _index. #34162

Open
jtibshirani opened this issue Sep 28, 2018 · 2 comments
Labels
>deprecation help wanted adoptme :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch

Comments

@jtibshirani
Copy link
Contributor

When evaluating a terms query against the _index field, simple wildcard patterns are accepted: https://gist.github.com/jtibshirani/7992dc355b677e8537c333616d3c0270

This is not a huge problem because index names can't contain asterisks, but I think it's confusing and not consistent with the normal behavior of terms queries. It would be good to consider deprecating + removing this ability. We support wildcard queries on the _index field, so the behavior could be changed without a regression in functionality.

@jtibshirani jtibshirani added :Search/Search Search-related issues that do not fall into other categories >deprecation labels Sep 28, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@jtibshirani jtibshirani added the help wanted adoptme label May 6, 2019
@rjernst rjernst added the Team:Search Meta label for search team label May 4, 2020
@javanna javanna added :Search Relevance/Search Catch all for Search Relevance and removed :Search/Search Search-related issues that do not fall into other categories labels Jul 17, 2024
@elasticsearchmachine elasticsearchmachine added Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch and removed Team:Search Meta label for search team labels Jul 17, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-relevance (Team:Search Relevance)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>deprecation help wanted adoptme :Search Relevance/Search Catch all for Search Relevance Team:Search Relevance Meta label for the Search Relevance team in Elasticsearch
Projects
None yet
Development

No branches or pull requests

5 participants