-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Status: 413 (Request Entity Too Large) #112
Comments
Hi @Shazwazza this is the logs we see when this occurs. It does duplicate the message so I assume that's one retry
|
Thanks @Matthew-Wise. Version 6.0.8 has been published to resolve this. It will try to automatically reduce the batch size if it encounters this issue. There's also a new configuration option: AzureSearchOptions.IndexBatchSize which are configured via IOptions. This defaults to 1000 but can be adjusted either by code or by: "ExamineX": {
"AzureSearch": {
"IndexBatchSize ": 999
}
} |
Thanks Shannon for the fast fix! |
Thanks for the report and help :) I've updated the docs in a couple places: Also just FYI, there will be another version published hopefully later this week which will contain a new Umbraco Health Check to ensure that your blob storage media files are all tagged correctly. Without this health check, it can be a bit annoying to get any previously existing media in blob storage to have the correct metadata and if any of the files are missing the metadata, the Azure Search indexer will not run correctly. And, in the near future we will be publishing support for all of the Image analysis features for Blob media so that you can have all of your images in Umbraco indexed with AI generated descriptions, tags, etc... 🚀 |
Describe the bug
When performing large indexing operations, this may result in Status: 413 (Request Entity Too Large)
License ID
N/A
To Reproduce
The batch size is set to 1000 which is the max batch size for Azure Search, however there may be cases where the actual byte size of the payload is too big.
Expected behavior
A configurable batch size would be nice to have. ExamineX can also try to split the problematic batch in half and recurse.
Screenshots
N/A
Versions
The text was updated successfully, but these errors were encountered: