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

fix(search-backend-module-elasticsearch): only refresh ES index being processed #24712

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

koalaty-code
Copy link
Contributor

Hey, I just made a Pull Request!

This change updates the ElasticSearch Search Plugin to only refresh the index being processed. The current behavior refreshes _all indexes which consumes a lot of resources and creates timeouts. The current behavior doesn't work very well when using a shared ElasticSearch instance with a lot of indexes.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

… processed

Signed-off-by: Adam Letizia <LetiziaAdam@JohnDeere.com>
@koalaty-code koalaty-code requested a review from a team as a code owner May 9, 2024 18:37
@github-actions github-actions bot added search Things related to Search area:discoverability Related to the Discoverability Project Area labels May 9, 2024
@backstage-goalie
Copy link
Contributor

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage/plugin-search-backend-module-elasticsearch plugins/search-backend-module-elasticsearch patch v1.4.1-next.1

@koalaty-code
Copy link
Contributor Author

@backstage/discoverability-maintainers, please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:discoverability Related to the Discoverability Project Area search Things related to Search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant