Skip to content

"--force-reindex" command flag does not exist in search service #2721

@schweigisito

Description

@schweigisito

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

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Qualification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions