feat: remove search plugins #5053
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Impact: breaking
Type: feature
Issue
This PR removes the
search-mongoandui-searchplugins from theimports/plugins/includeddirectory ofreaction. It also removes the search bar from the operator orders UI that depended upon thesearch-mongo. It cleans up the util functions run by some of the migrations used to setup the mongo search collections.We're doing this because we've found that some of the app event hooks within this plugin fire even when the plugin is disabled. Having these events run can cause considerable slowness when publishing a product to the catalog. This issue is exacerbated when importing and publishing large sets of products simultaneously.
When updating our storefront and operator UIs, we've moved away from using this search package. While there are better search options for most users of Reaction, such as ElasticSearch, we do plan to support basic search functionality out of the box for both the storefront and for the operator UIs.
The operator order management UI is very sluggish. This PR does not attempt to resolve any issues related to the order management UI.
Breaking changes
Removes order search bar from operator order UI.
Removes
search-mongoandui-searchplugins fromreaction.Testing