legacy-knowledge-base
公開されました Jun. 30, 2025

提案ウィジェットの機能がカスタム ヒンディー語に対して機能しないということですか

written-by

Amit Tiwari

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

問題

  • 提案ウィジェットの機能がカスタム ヒンディー語辞書では機能しないということですか。

Environment

  • Liferay DXP 7.4

解決策

1)。 <TOMCAT_HOME>/webapps/ROOT/WEB-INF/classes/
2) の下の tomcat ディレクトリにフォルダースペルチェッカーを作成します。 hi_IN.txt (カスタム ヒンディー語を含むサンプル テキスト ファイル) をスペルチェッカー フォルダーに配置します。
3)。 portal-ext.propertiesに以下のプロパティを追加します

locales.enabled=en_US,hi_IN
locales=en_US,hi_IN
index.search.spell.checker.dictionary[hi_IN]=spellchecker/hi_IN.txt
index.search.spell.checker.supported.locales=en_US,hi_IN

4)。 ポータルを再起動し、スペル チェックのインデックスを再作成し、新しいファイル hi_IN.txt
5) のインデックス作成のログを確認します。 「もしかして...」のしきい値が有効になるように提案ウィジェットを構成します。
6)。 サイトの言語をヒンディー語 (hi_IN) に変更します。
7)。 ホームページに移動し、hi_IN.txt ファイルからいくつかの文字を間違えて単語を検索します。

追加情報

  • デフォルトでは、Liferay 検索ページには提案ウィジェットが付属しています。
  • 検索候補の有効化

did-this-article-resolve-your-issue

legacy-knowledge-base