How to set the reindex batch size when disabling Index All Article Versions Enabled
Peter Nyiro
更新
Issue
When we use the default value (true) of the System Settings -> Web Content -> Index All Article Versions Enabled option, we use the com.liferay.journal.model.JournalArticle=1000 property to limit the number of articles reindexed at a time
However, if we set this option to false, the property stops working and we get an exception during the reindex:
[HTTP/1.1 413 Request Entity Too Large]_]
Environment
Liferay DXP 7.4
Resolution
If the above option is set to false, then you need to use the com.liferay.journal.model.JournalArticleResource=1000 property instead
The value used here is the default one, you should configure it to your preferences