I've gotten great results applying it to file paths + signatures. Even better if you also fuse those results with BM25.

I like embeddings for natural language documents where your query terms are unlikely to be unique, and overall document direction is a good disambiguator.