Wow. Rifle looks neat. Thanks for mentioning that!
Deft will scan any plain-text file, according to the set of file endings you give it, and it will put your cursor at the point in the buffer where one of the search words occurs, but it won’t automatically extract the ending, AFAIK.
I should mention that deft does fuzzy matching, or at least words don’t have to be contiguous.
https://github.com/alphapapa/helm-org-rifle
I don't know if Deft recognizes org mode entries, but org-rifle provides entry-based search.