Legacy Knowledge Base
公開されました Jul. 2, 2025

検索候補の構成はどのように機能しますか?

Written By

Madeleine Clay

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 検索候補ウィジェットを構成しようとしていますが、さまざまな構成オプションがどのように機能するかを理解したいと考えています。

Suggestions_Widget_-_Configuration.png

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2
  • DXP 7.3

解決策

  • 検索候補には 3 つの関連機能があります:
    1) 「もしかして...」別名 スペルチェックの提案
    2) 「関連クエリ...」
    3) 「成功したクエリに基づいて新しい関連クエリを追加」別名 キーワード インデックス付け、別名クエリ インデックス付け

  • 1) 「もしかして…」 スペルチェックの提案: インデックスにインポートされる辞書ファイルを使用するように構成できます。 用語は、spellCheck_xx_YY フィールドに索引付けされます。 これは、単一の単語の提案を取得するための TermSuggester を検索に使用します (スペルチェックに適しています)。

  • 2) 「関連するクエリ...」は、インデックス化された成功したクエリをデータ ソースとして使用し、実際にインデックスにインポートされる辞書ファイルを使用するように構成できます。 用語は、keywordSearch_xx_YY フィールドに索引付けされます。 これは、検索にフレーズ サジェスターを使用します。これは、フレーズを検索するためのものです (関連するクエリに適しています)。

  • 3) 成功したクエリに基づいて関連クエリを追加すると、2) 「関連クエリ...」機能で使用できる成功したクエリのインデックス作成が可能になります。 これは、検索に成功したもののみを索引付けします。コンテンツに直接存在する単語に基づいて索引付けすることはありません。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base