legacy-knowledge-base
公開されました Sep. 10, 2025

Index All Article Versions Enabledを無効にした場合の再インデックスバッチサイズの設定方法について

written-by

Peter Nyiro

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • System Settings -> Web Content -> Index All Article Versions Enabled オプションのデフォルト値(true)を使用する場合、 com.liferay.journal.model.JournalArticle=1000 プロパティを使用して、一度に再インデックスされる記事数を制限します
  • しかし、このオプションをfalseに設定すると、プロパティは動作しなくなり、再インデックス時に例外が発生します:
[HTTP/1.1 413 Request Entity Too Large]_]

Environment

  • Liferay DXP 7.4

解決策

  • 上記のオプションがfalseに設定されている場合、代わりに com.liferay.journal.model.JournalArticleResource=1000 プロパティを使用する必要があります。
  • ここで使用されている値はデフォルトのもので、お好みで設定してください
did-this-article-resolve-your-issue

legacy-knowledge-base