redd-archiver uses postgres full text search. for static search you could use lunr.js