forked from varia/go-sh-manymanuals
docs: more exp tips
This commit is contained in:
parent
b2ec2b0a40
commit
b170aaa856
@ -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"` 👍
|
||||||
|
Loading…
Reference in New Issue
Block a user