I'm using Laravel Scout with TNTSearch. Is there any way to ascertain which fields (array keys on the toSearchableArray()
method) have been matched when a result is returned by the search
method?
Asked
Active
Viewed 196 times
0
1 Answers
0
Since TNTSearch is field agnostic it isn't possible to know which field was matched.

Nenad
- 3,438
- 3
- 28
- 36
-
Sad :( They could put a reference to the full length token to each sub-token, so the reference would be there – btx Jul 12 '23 at 17:44