Torann / laravel-cloudsearch

Index and search Laravel models on Amazon's CloudSearch
BSD 2-Clause "Simplified" License
22 stars 10 forks source link

enable or disable the saved event of Observer #4

Open danielhuang-030 opened 6 years ago

danielhuang-030 commented 6 years ago

Hi, thank you for developing this package, it is great! But there is a suggestion for use. Because the models will always trigger the saved event and then add the queue when save. However, sometimes updated data may not be related to index. Hope that new parameters can be added to the config to enable/disable the saved event of Observer. Let us decide when we want to add a queue.

Thanks again.