Quality tutorials & resources. No BS._

Page 4

Break between articles Break between articles
Advanced Meilisearch Queries with Laravel Scout
Author Dan Pastori avatar
Dan Pastori April 18th, 2022

We’ve touched on a few configurations we can update with Meilisearch to make it more user friendly and powerful. A few that we worked on were setting sortable and filterable attributes on your models. Let’s open the gates and show how to use all of the power features of Meilisearch with Laravel Scout!

These advanced queries give you full access to the power that Meilisearch provides. You can fine tune your app and make amazing search experiences for your users. Since these are extremely custom to your application, I’ll simply show you how to build these advanced queries and you can run wild!

Keep Reading →
Break between articles
Dynamic API Requests with Nuxt 3 Part 6 of 9 in Upgrading Nuxt 2 to Nuxt 3
Author Dan Pastori avatar
Dan Pastori April 18th, 2022

After your user interacts with your page, it can be necessary to refresh your data. A few examples of when to refresh data is when you need to filter API resources or paginate data. With Nuxt 3, these dynamic API requests can be structured in a reactive manner. When the query parameters change, the API […]

Keep Reading →
Break between articles
Filtering Meilisearch Search Results with Laravel Scout
Author Dan Pastori avatar
Dan Pastori April 11th, 2022

In order to fine tune your Meilisearch implementation with Laravel Scout, it’s a good idea to set up some filters on your index. With Eloquent queries, filtering results is easy. Out of the box, you just add a ->where('x', 'y') or other condition to return results with. You can do the same with Meilisearch, but it has to be configured first.

Since Meilisearch is not a relational database, these have to be very simple filters. However, when using Meilisearch, I’ve never run into a situation where this became an issue. We are usually letting the full text query do the filtering for us. I usually apply these filters in situations where we need “only results for a user” or “number is greater than x” along with a full text search. Let’s get started!

Keep Reading →
Break between articles