Elastic Search

is there any way to integrate elastic search with filament? i integrated with laravel scout but it seems not working https://filamentphp.com/docs/3.x/tables/advanced#searching-records-with-laravel-scout
6 Replies
Patrick Boivin
What's not working for you? What is the issue?
awcodes
awcodes2y ago
Should be a similar process you just override the query with what ever elastic search says to do in their docs.
technocrat
technocratOP2y ago
i have added applySearchTableQuery inmy resource but this function never get executed
Patrick Boivin
I think applySearchToTableQuery() should go on your page class (e.g. ListPosts) instead of the resource class I just noticed that the question is tagged as v2 but you seem to be following the docs for v3 (I think the instructions are the same, but I'm not 100% sure)
technocrat
technocratOP2y ago
thanks it works. Same i want to do it with global search how can i achieve it? ( i am using v2)

Did you find this page helpful?