You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can set the hidden property on the model for all fields that should not be indexed. At least this works for me in combination with the elasticsearch driver. All hidden fields will not be converted to JSON or arrays and thus not be pushed to the index. The visibleproperty should work as well, but I haven't tested it yet.
I think Scout needs a function to select which entries are indexed. The implementation of Algolia's Laravel Plugin has an
indexOnly()
function.https://github.com/algolia/algoliasearch-laravel#restrict-indexing-to-a-subset-of-your-data
The text was updated successfully, but these errors were encountered: