Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented May 16, 2023

If the query cannot be rewritten to match_none, then search_shards API should skip the can_match phase and return all groups of shard copies.

Relates #94534

@dnhatn dnhatn added >non-issue :Search/Search Search-related issues that do not fall into other categories v8.9.0 labels May 16, 2023
@dnhatn dnhatn changed the title Search_shards should not perform without query search_shards should not perform can_match without query May 16, 2023
@dnhatn dnhatn changed the title search_shards should not perform can_match without query Search shards should not perform can match without query May 16, 2023
@dnhatn dnhatn marked this pull request as ready for review May 16, 2023 03:44
@dnhatn dnhatn requested review from javanna and quux00 May 16, 2023 03:45
@elasticsearchmachine elasticsearchmachine added the Team:Search Meta label for search team label May 16, 2023
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

@dnhatn
Copy link
Member Author

dnhatn commented May 17, 2023

Thanks Luca!

@dnhatn dnhatn merged commit c2f4d1c into elastic:main May 17, 2023
@dnhatn dnhatn deleted the search_shards_match_all branch May 17, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.9.0

4 participants