# gshmm-exp

> Experimental programs for prototyping outside of the main `gshmm` UI

## `bleve.go`

Testbed for indexing  & retrieval.

```
go run bleve.go
```

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"` 👍

You can also try `sudo apt-get install pdfgrep`, do stuff like `pdfgrep -R
"capab" ../datasheets` and compare.

Finally, [bleveanalysis.couchbase.com](https://bleveanalysis.couchbase.com) is
a good tool for testing the analyzers.