-
Notifications
You must be signed in to change notification settings - Fork 189
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
search: re-index command for all spaces #9103
Comments
Referencing: #5515 (Improve the search service index management) |
I did go for Btw: search service already used service accounts. The |
@kobergj Can you update the README of the search service? |
Is your feature request related to a problem? Please describe.
My guess is that the
ocis search index --space $SPACE_ID --user $USER_ID
dates back to the times before we had a service account.Therefore it needs the space id and a user id that has access to that space.
Describe the solution you'd like
Leverage the service account for search, so that it can discover all spaces by itself and we can trigger re-indexing for all spaces with one command.
Ideally this would be eg.:
ocis search index
orocis search index --all-spaces
Describe alternatives you've considered
Get a list of all spaces and a member each. But that requires permissions to list the spaces graph endpoint and therefore a OIDC session. Currently this can not really easily automated, while the proposed solution is very easy to be triggered in a automated way.
Additional context
none
The text was updated successfully, but these errors were encountered: