Wrote the search-by-topic backend