I’ve just cut a new release of the search-test utility:
I wasn’t able to build for macOS, so please let me know if you want the platform supported. At this point only @Snowbird has learned how to use it, which is all good.
The main visible change is support for volpage searches. However, under the hood there’s been a lot of refactoring to allow different parsers to be used for each search type. In the future I hope to leverage this to allow evolution or replacement of the existing ArangoDB based search engine.
Given all the refactoring, there’s a chance that I’ve introduced a bug or two, so let me know.
It’s a tool that lets you set up search tests, i.e. what you expect as results when you search for specific terms. Once you have the tests set up, you can work on the search code and be (somewhat) confident you haven’t broken anything as long as your tests still pass.
It’s a command line tool for writing tests for the suttacentral search engine. Maybe not something you’ll use yourself, but if you have any search results that you find questionable, you can pass them on to @Snowbird for investigation.
The CLI is a single binary written in Rust. I’m producing releases on github and version 0.1.0 had prebuilt binaries for macOS. However, building for macOS did not work for 0.2.0. Not that it won’t build, just that the scripts to make releases for macOS need to be updated. Hopefully I can get it working again for the next release.