Server-side search is off. The commands exist, and they fail with NOT_FOUND "Search is not enabled on this server". To search files today, fetch the folder and search it locally with your own tools, such as rg or grep.
wiele search
Search the files you can read on a branch. Server-side search is off, so this fails with NOT_FOUND for now.
wiele search <subcommand> [flags] <query>
| Argument | Description |
|---|---|
<query> |
Search text. |
| Flag | Description |
|---|---|
--workspace string |
Workspace ID, slug or name. Not needed inside a checkout or when the path is written as WORKSPACE:/path. |
--org string |
Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use. |
--branch string, --copy string |
Branch name or ID. --copy is the same flag. Default: the checkout's branch, otherwise main. |
--wait string |
Wait up to this long for the index to reach the branch head, such as 30s, then return only current results. Default: 0ms. |
--mode fts|semantic|hybrid |
fts for keyword matches, semantic for meaning, hybrid for both. Default: hybrid. |
--path string |
Folder to search under. Default: /. |
--require-current |
Fail instead of returning results from an index behind the branch head. |
--limit integer |
Maximum number of results, at most 50. Default: 10. |
wiele search status
Show whether a branch is indexed and which revision the index covers.
wiele search status [flags]
| Flag | Description |
|---|---|
--workspace string |
Workspace ID, slug or name. Not needed inside a checkout or when the path is written as WORKSPACE:/path. |
--org string |
Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use. |
--branch string, --copy string |
Branch name or ID. --copy is the same flag. Default: the checkout's branch, otherwise main. |
wiele search index
Index a branch for search; main is indexed automatically.
wiele search index [flags]
| Flag | Description |
|---|---|
--workspace string |
Workspace ID, slug or name. Not needed inside a checkout or when the path is written as WORKSPACE:/path. |
--org string |
Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use. |
--branch string, --copy string |
Branch name or ID. --copy is the same flag. Default: the checkout's branch, otherwise main. |
--disable |
Stop indexing instead of starting it. |
wiele search disable
Stop indexing a branch and remove its derived search view.
wiele search disable [flags]
| Flag | Description |
|---|---|
--workspace string |
Workspace ID, slug or name. Not needed inside a checkout or when the path is written as WORKSPACE:/path. |
--org string |
Organization ID or slug. Default: the checkout's organization when the workspace comes from the checkout, otherwise the one picked with wiele org use. |
--branch string, --copy string |
Branch name or ID. --copy is the same flag. Default: the checkout's branch, otherwise main. |
--disable |
Has no effect: search disable always stops indexing. |