CLI utility for quickly rebuilding a stripped down GOV.UK search index, and swapping out synonym rules.
This is currently a proof of concept.
It requires access to an elasticsearch cluster containing GOV.UK search indexes.
Each argument is a synonym rule to swap into either of the synonym filters (identified by the part before the colon).
./bin/synonym_tester 'search: 1, one' 'both: license => licence', 'index: car => car, vehicle'