docs: add '--search-type' examples to CLI docs
This commit is contained in:
parent
7953de46b9
commit
70da24b691
1 changed files with 12 additions and 0 deletions
12
docs/cli.md
12
docs/cli.md
|
|
@ -133,6 +133,18 @@ With options:
|
||||||
haiku-rag search "python programming" --limit 10 # or -l 10
|
haiku-rag search "python programming" --limit 10 # or -l 10
|
||||||
```
|
```
|
||||||
|
|
||||||
|
With search type:
|
||||||
|
```bash
|
||||||
|
# Hybrid search (the default)
|
||||||
|
haiku-rag search "python programming" --search-type hybrid # or -s hybrid
|
||||||
|
|
||||||
|
# Full-text search only
|
||||||
|
haiku-rag search "python programming" --search-type fts # or -s fts
|
||||||
|
|
||||||
|
# Vector search only
|
||||||
|
haiku-rag search "python programming" --search-type vector # or -s vector
|
||||||
|
```
|
||||||
|
|
||||||
With filters (filter by document properties, use `--filter` or `-f`):
|
With filters (filter by document properties, use `--filter` or `-f`):
|
||||||
```bash
|
```bash
|
||||||
# Filter by URI pattern
|
# Filter by URI pattern
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue