0

Sitefinity の検索インデックス、または検索結果ページに、見つかったページの説明が表示されない理由を知っている人はいますか? ニュースとブログのアイテムには適用されますが、ページには適用されません。

ページの説明のコンテンツは既に取得しています (ページのプロパティ内)。

インデックスを再作成し、ページに説明とキーワードがあることを確認し、IIS を再起動し、検索インデックスを削除して再作成しましたが、何も起こりません。検索時にページの説明の省略記号しか表示されない

よろしく、ジャック

4

1 に答える 1

0

使用しているサイトフィニティのバージョンは何ですか? 検索フォルダーの fieldsinfoprovider.xml ファイルを変更してみましたか? 詳細については、この記事を参照してください: http://www.sitefinity.com/devnet/kb/sitefinity-3-x/how-to-customize-the-indexing-of-html-documents.aspx

<?xml version="1.0" encoding="utf-8"?>
    <fields>
      <field name="title" weight="1" indexAttribute="" filterTag="title" filterAttributes="" />
      <field name="keywords" weight="1" indexAttribute="content" filterTag="meta" filterAttributes="name:keywords;" />
      <field name="description" weight="1" indexAttribute="content" filterTag="meta" filterAttributes="name:description;" />
      <field name="script" weight="-1" indexAttribute="" filterTag="script" filterAttributes="" />
      <field name="style" weight="-1" indexAttribute="" filterTag="style" filterAttributes="" />
    </fields>

説明のメタタグをインデックス化するように設定されていることを確認してください...

これが役に立てば幸いです!

于 2010-11-01T19:45:20.517 に答える