integration-guides icon indicating copy to clipboard operation
integration-guides copied to clipboard

laravel-scout-extended integration

Open curquiza opened this issue 4 years ago • 12 comments

Context

At first, we decided to build an integration for Laravel Scout by staying completely compliant/conformed with the original laravel/scout package. See meilisearch-laravel-scout.

The goal? To integrate this repository into the official laravel/scout package (as Algolia already is) by showing that people use it. This is now done! 🎉

But, despite this laravel-scout integration, we noticed some of the contributors would like a laravel-scout-extended integration, I mean with more friendly methods to handle settings in this repository, as this PR suggests. We refused this kind of PRs in meilisearch-laravel-scout since it would make our integration non-compliant with the official laravel/scout.

Decision with the community

According to this issue, and after the merge of the MeiliSearch support into Laravel/Scout, we have decided to:

curquiza avatar May 12 '21 17:05 curquiza

@curquiza Any progress or need any help developing the repo laravel-scout-extended. I was going to fork the Algolia one and work on modifying/stripping it to work with Meilisearch myself.

Braunson avatar Sep 05 '21 19:09 Braunson

Hello @Braunson!

Thanks for this suggestion! We are not working currently on it, so any help is really interested!! 😄

curquiza avatar Sep 06 '21 11:09 curquiza

People want the sort feature, see: https://github.com/laravel/scout/pull/537

curquiza avatar Oct 22 '21 16:10 curquiza

Aggregates, multiple models from same index is something I found my self reaching for when using with Lighthouse graphql and its paginator.

Working around it by using meilisearch-php and querying directly for now. Some kind of a union or merge with primary key and a "type of model" field, but keeping the order/pagination.

https://github.com/algolia/scout-extended/blob/master/src/Searchable/Aggregator.php https://www.algolia.com/doc/framework-integration/laravel/advanced-use-cases/multiple-models-in-one-index/?client=php

LiamKarlMitchell avatar Jun 18 '22 20:06 LiamKarlMitchell

Thanks for your comment @LiamKarlMitchell :)

brunoocasali avatar Jun 21 '22 12:06 brunoocasali

Hi all!

As you probably know, Laravel Scout released a new version v9.5.0 which introduced a new ability to set Meilisearch's index settings :tada:.

So, my question is, for everyone watching this issue, do you think a laravel-scout-extended is still something worthy to be created? And which kind of feature do you expect to be present on it if your answer were "yes".

Thanks a lot!

brunoocasali avatar Dec 07 '22 21:12 brunoocasali

Hello, this is great news !

I liked the artisan command scout:status which gives me lots of information as an overview:

  • a list of all indexes
  • model used
  • synchronisation status
  • record count

https://www.algolia.com/doc/framework-integration/laravel/production/get-status-overview/?client=php

Screenshot 2022-12-12 at 13-41-51 Get status overview Laravel Algolia

smknstd avatar Dec 12 '22 12:12 smknstd

So, my question is, for everyone watching this issue, do you think a laravel-scout-extended is still something worthy to be created? And which kind of feature do you expect to be present on it if your answer were "yes".

I'd love to see support of aggregates in order to implement a multi-model/global search.

MrThePlague avatar Feb 12 '23 16:02 MrThePlague

Update: looks like the multi-search is missing to users: https://github.com/laravel/scout/issues/745

curquiza avatar Jun 12 '23 12:06 curquiza

This is something it could be tackled by the laravel-scout-extended since it will not be supported: https://github.com/laravel/scout/issues/730#issuecomment-1516177995

brunoocasali avatar Jun 12 '23 15:06 brunoocasali

Hi folks, is this actively being worked on? 😍

MrThePlague avatar Oct 23 '23 00:10 MrThePlague

Hi, @MrThePlague hope you're doing well!

Unfortunately, even though the community highly requests it, we haven't progressed on this topic yet. It would be nice to have it, but we need more time to work on it. We are a small team that maintains more than 30 tools, SDKs and integrations, so it is pretty hard to make the time 😅

It would be nice if someone from the community could step in and start the project. We can provide help and feedback when needed.

brunoocasali avatar Oct 24 '23 13:10 brunoocasali