Skip to content

Commit

Permalink
readme: Update to new cli commands with metadata db
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed Jun 1, 2024
1 parent 4f14e2b commit ac87276
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
```sh
cargo run -- index ~/hdfs-logs-multitenants-10000.json ~/test --merge
cargo run -- create example_config.yaml

cargo run -- index test ~/hdfs-logs-multitenants-10000.json
# Commiting 10000 documents, after processing 10000
# Merging 3 segments
# Joining merging threads
# Writing unified index file

cargo run -- search ~/test "severity_text:INFO" --limit 1 | jq .
cargo run -- search test "severity_text:INFO" --limit 1 | jq .
# {
# "_dynamic": [
# {
Expand All @@ -24,4 +26,6 @@ cargo run -- search ~/test "severity_text:INFO" --limit 1 | jq .
# "2016-04-13T06:46:54Z"
# ]
# }

cargo run -- drop test
```

0 comments on commit ac87276

Please sign in to comment.