locate blob.txt and I got:
$ locate .bashrc WARNING: The locate database (/var/db/locate.database) does not exist. To create the database, run the following command: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist Please be aware that the database can take some time to generate; once the database has been created, this message will no longer appear.
I ran this command and my locate database was built within a few minutes (includes tens of thousand of files).
On my Linux (Ubuntu) system my locatedb database is updated automatically by default, on a daily basis I believe.
How do I turn this on for my Mac?