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
Patrick Boivin16mo ago
What's not working for you? What is the issue?
awcodes
awcodes16mo ago
Should be a similar process you just override the query with what ever elastic search says to do in their docs.
technocrat
technocratOP16mo ago
i have added applySearchTableQuery inmy resource but this function never get executed
Patrick Boivin
Patrick Boivin16mo ago
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
technocratOP16mo ago
thanks it works. Same i want to do it with global search how can i achieve it? ( i am using v2)
Want results from more Discord servers?
Add your server