F
Filament3mo ago
jjo63

searchable() - accessing the search terms entered / context of results

Hi is it possible to access the search string entered in the free text box? I'm interested in being able to pull out the context of the data where the entered search terms match, It seems like a very clever bit of coding within Filament which enables matching using the entered words even when the words are not consecutive. My objective is to be able to show the user (ideally in a column in the "table view") the underlying data on which the match was made (context). For example the user types in "table mountain" and the context might be "The walkers hiked all the way to the top of Table Mountain in the searing midday heat" - so would be great to be able to pull out x words before and after the search term. Is such a thing possible?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server