legacy-knowledge-base
公開されました Jul. 2, 2025

ファイルが部分的にインデックスされる

written-by

Michael Wine

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
一部のウェブコンテンツの一部しかインデックスされていないように見える理由について解説します。 例えば、テキストファイルのある部分だけが検索用にインデックスされ、他の部分は検索できないようになっています。

解決策

これは意図した行動です。 ファイルのインデックス作成は、portal-ext.propertyで制御します:

dl.file.indexing.max.size

この定義されたファイルサイズより大きいファイルは、完全にインデックスされません。 そのため、例えばテキストファイルの場合、最初の330行など、ごく一部だけが検索対象となる。

この動作はLucene/Solrの機能であり、スケーラビリティのために存在する。

did-this-article-resolve-your-issue

legacy-knowledge-base