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"` 👍
|
2023-05-12 23:22:36 +02:00
|
|
|
|
|
|
|
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.
|