Skip to content

[DEV-11931] Implement OpenSearch client over ElasticSearch#4669

Open
DavidMikolaKC wants to merge 11 commits into
qatfrom
mod/dev-11931-elasticsearch-to-opensearch
Open

[DEV-11931] Implement OpenSearch client over ElasticSearch#4669
DavidMikolaKC wants to merge 11 commits into
qatfrom
mod/dev-11931-elasticsearch-to-opensearch

Conversation

@DavidMikolaKC

Copy link
Copy Markdown
Contributor

Description:

The USAspending API still uses Elasticsearch hosted by AWS. AWS made the switch to their own implementation known as OpenSearch and no longer updates Elasticsearch leaving the latest available version at 7.1. In aiming to use packages that officially support our current Python version we should make the switch to OpenSearch client and DSL.

Technical Details:

All imports of Elasticsearch have been replaced with the equivalent imports from the opensearch-py library

Requirements for PR Merge:

All functionalities are retained from how they operated in Elasticsearch

  1. Unit & integration tests updated
  2. API documentation updated (examples listed below)
    1. API Contracts
    2. API UI
    3. Comments
  3. Data validation completed (examples listed below)
    1. Does this work well with the current frontend? Or is the frontend aware of a needed change?
    2. Is performance impacted in the changes (e.g., API, pipeline, downloads, etc.)?
    3. Is the expected data returned with the expected format?
  4. Appropriate Operations ticket(s) created
  5. Jira Ticket(s)
    1. DEV-0

Explain N/A in above checklist:

@DavidMikolaKC DavidMikolaKC marked this pull request as ready for review June 2, 2026 19:01
@DavidMikolaKC DavidMikolaKC added the ready for review [PR] ready to be reviewed label Jun 10, 2026
@aguest-kc aguest-kc changed the title Implement OpenSearch client over ElasticSearch [DEV-11931] Implement OpenSearch client over ElasticSearch Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review [PR] ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant