To be fair, if you manage to make search slow for a database with ~10,000 entries, you're doing something very strange. Even allowing for egregious post-sizes of 100Kb/entry, that's less than 1 Gb. A raspberry pi could keep the database in RAM with room to spare.