algolia / scout-extended

Scout Extended: The Full Power of Algolia in Laravel
https://www.algolia.com/doc/framework-integration/laravel/getting-started/introduction-to-scout-extended/
MIT License
400 stars 87 forks source link

Record at the position 0 objectID=App\Article::16 is too big size=13406 bytes. Contact us if you need an extended quota #242

Closed MasterMindLegion closed 2 years ago

MasterMindLegion commented 4 years ago

Hello guys,

I have installed scout-extended , but still, there is an issue regarding to index article with big size. It is an long article, which I would like to indices, how to proceed please?

I had normal scout installed -> than I found out err _Record at the position 0 objectID=App\Article::16 is too big size=13406 bytes. Contact us if you need an extended quota_ -> I have installed scout extended, I flushed all models indecis and tried to save an article once more.

DevinCodes commented 2 years ago

For most Algolia plans, the Algolia engine only accepts records that are 10kb max. If records are too big, the engine will reject it with the error message you're seeing here.

There's public documentation on how to reduce the size of records, as well as documentation on indexing long documents.

I'm closing this issue since it's related to the Algolia engine, and not Scout Extended. If there's still issues after you've reduced the record size, please reach out to Algolia support 🙂

Cheers!