Skip to content

Adjust search service and search index documentation to latest changes #1085

Description

@aduffeck

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions