docs: more exp tips

This commit is contained in:
decentral1se 2023-05-11 16:41:55 +02:00
parent b2ec2b0a40
commit b170aaa856
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -2,8 +2,20 @@
> Experimental programs for prototyping outside of the main `gshmm` UI > Experimental programs for prototyping outside of the main `gshmm` UI
## `bleve.go`
Testbed for indexing & retrieval.
``` ```
go run bleve.go go run bleve.go
``` ```
You may need to `rm -rf *.bleve` to clean up previous index runs. You may need to `rm -rf *.bleve` to clean up previous index runs.
You can install the CLI with:
```
go install github.com/blevesearch/bleve/v2/cmd/bleve@latest
```
And then do stuff like `bleve query test.bleve "enhanced"` 👍