You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each time an Elasticsearch index is created, a replica is created with the index. In our case this replica is not supported, as we work with a single-node cluster.
Solution
The creation of index should be managed via an interface, as many features in Orchard. Most of the work is done by ElasticIndexManager.CreateIndexAsync. The logic implemented there is too complex to be safely reworked. It could be good to split this logic in several public methods.
Alternatives
No alternative was found for this problem. When you create an index in the administrator board, everything is managed by classes without interface. We could add a background task to remove the replicas, but we would prefer an other solution.
The text was updated successfully, but these errors were encountered:
Thank you for submitting your first issue, awesome! 🚀 We're thrilled to receive your input. If you haven't completed the template yet, please take a moment to do so. This ensures that we fully understand your feature request or bug report. On what happens next, see the docs.
If you like Orchard Core, please star our repo and join our community channels.
We triaged this issue and set the milestone according to the priority we think is appropriate (see the docs on how we triage and prioritize issues).
This indicates when the core team may start working on it. However, if you'd like to contribute, we'd warmly welcome you to do that anytime. See our guide on contributions here.
OrchardCore version : 1.8.2
Problem
Each time an Elasticsearch index is created, a replica is created with the index. In our case this replica is not supported, as we work with a single-node cluster.
Solution
The creation of index should be managed via an interface, as many features in Orchard. Most of the work is done by
ElasticIndexManager.CreateIndexAsync
. The logic implemented there is too complex to be safely reworked. It could be good to split this logic in several public methods.Alternatives
No alternative was found for this problem. When you create an index in the administrator board, everything is managed by classes without interface. We could add a background task to remove the replicas, but we would prefer an other solution.
The text was updated successfully, but these errors were encountered: