2023-05-11 16:08:29 +02:00
|
|
|
# gshmm-exp
|
|
|
|
|
|
|
|
> Experimental programs for prototyping outside of the main `gshmm` UI
|
|
|
|
|
2023-05-11 16:41:55 +02:00
|
|
|
## `bleve.go`
|
|
|
|
|
|
|
|
Testbed for indexing & retrieval.
|
|
|
|
|
2023-05-11 16:08:29 +02:00
|
|
|
```
|
|
|
|
go run bleve.go
|
|
|
|
```
|
2023-05-11 16:26:19 +02:00
|
|
|
|
|
|
|
You may need to `rm -rf *.bleve` to clean up previous index runs.
|
2023-05-11 16:41:55 +02:00
|
|
|
|
|
|
|
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"` 👍
|