With v7.4.0 the reindex feature of OpenCloud was enhanced and the docs need to be adjusted to reflect these changes
When the --all-spaces flag is used spaces are indexed concurrently to speed up the process. By default the number of spaces indexed in parallel is 3, and that default can be changed using the SEARCH_REINDEX_MAX_CONCURRENCY env var.
Additionally, the admin can override the default concurrency using the concurrency flag, e.g.
opencloud search index --all-spaces --concurrency=1
Setting a higher concurrency on the command line than the configured max concurrency will lead to an error.
Finally the output of the index command was changed, it will now show progress information about spaces that were just indexed or about errors:
$ opencloud search index --all-spaces --force-rescan
[1/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$eb6a8a0e-2e62-4b40-bce9-360063236676!eb6a8a0e-2e62-4b40-bce9-360063236676 in 5.501190908s
[2/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$34b7c565-da3b-4f53-8559-825e87db4011!34b7c565-da3b-4f53-8559-825e87db4011 in 5.935075697s
[3/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$e08c6026-24f6-4a9e-a805-ed335b34b8da!e08c6026-24f6-4a9e-a805-ed335b34b8da in 6.016350958s
With v7.4.0 the reindex feature of OpenCloud was enhanced and the docs need to be adjusted to reflect these changes
When the
--all-spacesflag is used spaces are indexed concurrently to speed up the process. By default the number of spaces indexed in parallel is3, and that default can be changed using theSEARCH_REINDEX_MAX_CONCURRENCYenv var.Additionally, the admin can override the default concurrency using the
concurrencyflag, e.g.Setting a higher concurrency on the command line than the configured max concurrency will lead to an error.
Finally the output of the
indexcommand was changed, it will now show progress information about spaces that were just indexed or about errors: