SmokeTM
5 months ago

Algolia have two inputs for one index

Posted 5 months ago by SmokeTM

Hi Guys,

I wanna use Algolia for server side searches. I got everything set up correctly but I want my customers to search with 2 input fields. Someone knows a way to get that done. For now it looks like this.

$jobs = Job::search('query')->where('created_at', '>=', now()->subDays(7))->get();

I want it to search after jobs and location with 2 inputs one for jobs and one for location, is that possible?

best

Please sign in or create an account to participate in this conversation.