OpenSearch: [BUG] The results we are obtaining for a Opensearch query is different

Describe the bug

The CI corresponding to the OSD are failing since 04/25/2025. There has been no change in tests and have been failing since we are getting different responses from Opensearch. Adding logs for reference. Adding CI for reference here. https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/14728502705/job/41336867164

For example we are getting different set of filters in the response. [ 'win 8', │ 'CN', │ 'IN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'win xp', │ 'CN', │ 'IN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'win 7', │ 'CN', │ 'IN', │ 'US', │ 'ID', │ 'PK', │ 'Other', │ 'ios', │ 'IN', │ 'CN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'Missing', │ 'CN', │ 'IN', │ 'US', │ 'BR', │ 'PK', │ 'Other', │ 'Other', │ 'IN', │ 'CN', │ 'US', │ 'ID', │ 'BR', │ 'Other' ] to sort of equal [ 'win 8', │ 'CN', │ 'IN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'win xp', │ 'CN', │ 'IN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'win 7', │ 'CN', │ 'IN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'ios', │ 'IN', │ 'CN', │ 'US', │ 'ID', │ 'BR', │ 'Other', │ 'Missing', │ 'CN', │ 'IN', │ 'US', │ 'BR', │ 'PK', │ 'Other', │ 'Other', │ 'IN', │ 'CN', │ 'US', │ 'ID', │ 'BR', │ 'Other' ]

Related component

No response

To Reproduce

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior

We should be getting the original response from opensearch.

Additional Details

Plugins Please list all plugins currently enabled.

Screenshots If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (12 by maintainers)

Most upvoted comments

Thanks @jed326 for the detailed explanation. For the short term we will be going ahead with option 1 , we will revisit the tests later to see if still need to validate for the search correctness.