Describe the bug
According to search service' README.md file, a command switch --force-reindex is supposed to exist, but it doesn't.
Steps to reproduce
- run command
$ opencloud search index --all-spaces --force-reindex
Expected behavior
If the command flag doesn't exist, it should not be mentioned within the service documentation.
Actual behavior
The above command throws:
$ opencloud search index --all-spaces --force-reindex
Error: unknown flag: --force-reindex
Usage:
opencloud search index [flags]
Aliases:
index, i
Flags:
--all-spaces index all spaces instead. This or --space is required.
--force-rescan force a rescan of all files, even if they are already indexed. This will make the indexing process much slower, but ensures that the index is up-to-date using the current search service configuration.
-h, --help help for index
-s, --space string the id of the space to travers and index the files of. This or --all-spaces is required.
Describe the bug
According to
searchservice' README.md file, a command switch--force-reindexis supposed to exist, but it doesn't.Steps to reproduce
$ opencloud search index --all-spaces --force-reindexExpected behavior
If the command flag doesn't exist, it should not be mentioned within the service documentation.
Actual behavior
The above command throws: