jeudi 23 juin 2016

Can a Laravel Model target multiple Algolia indices with different attributes for each?

I've been experimenting with the algoliasearch-laravel package.

I see that it's possible for a Model to target multiple indices by using the public $indices array within in the model.

I also see it's possible to specify which attributes are sent to an index by using the getAlgoliaRecord() method.

My question is, is it possible for a single Model to send different attributes to different indices?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28UD0yN
via IFTTT

Aucun commentaire:

Enregistrer un commentaire