Is there a good solution for performing searches similar to
find . -name "*.*" | xargs grep "some text"
but with much faster search, due to offline indexing. Support for wildcards or light regular expressions would be nice, but even raw text search that could run very fast due to offline preprocessing would be great.
This might be overkill for your purposes, but Beagle allows you to perform very fast searches of local files. It’s usually marketed as a desktop application, but in fact it is just a daemon that can respond to requests from the command-line using beagle-query.