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

Trigger indexing from a recipe #12199

Closed
Skrypt opened this issue Aug 16, 2022 · 1 comment · Fixed by #12417
Closed

Trigger indexing from a recipe #12199

Skrypt opened this issue Aug 16, 2022 · 1 comment · Fixed by #12417
Milestone

Comments

@Skrypt
Copy link
Contributor

Skrypt commented Aug 16, 2022

Is your feature request related to a problem? Please describe.

Currently, when we are creating a search index from a recipe it doesn't build the index. This causes issues with Lucene and Elasticsearch where the Queries won't return any results and also Elasticsearch will log an issue about "all shards failed" if nothing has been indexed yet in its indexes.

Describe the solution you'd like

As an enhancement. It would be nice to be able to trigger an index to be rebuilt or reset from a scheduled background task as a one-time only task.

@jtkech
Copy link
Member

jtkech commented Aug 16, 2022

Maybe a good candidate for our new HttpBackgroundJob component.

@sebastienros sebastienros added this to the 1.x milestone Aug 18, 2022
lampersky added a commit to lampersky/OrchardCore that referenced this issue Aug 29, 2022
lampersky added a commit to lampersky/OrchardCore that referenced this issue Aug 30, 2022
lampersky added a commit to lampersky/OrchardCore that referenced this issue Aug 30, 2022
lampersky added a commit to lampersky/OrchardCore that referenced this issue Aug 30, 2022
lampersky added a commit to lampersky/OrchardCore that referenced this issue Aug 31, 2022
lampersky added a commit to lampersky/OrchardCore that referenced this issue Aug 31, 2022
@Skrypt Skrypt modified the milestones: 1.x, 1.5 Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment