この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Newer Version Available

This content describes an older version of this product. View Latest

CommerceSearchSettings クラス

インデックスを取得します。インデックスログを取得します。商品カタログのインデックスを作成します。

名前空間

ConnectApi

CommerceSearchSettings のメソッド

次に、CommerceSearchSettings 用のメソッドを示します。すべてのメソッドが静的です。

createCommerceSearchIndex(webstoreId, indexBuildType)

商品カタログのインデックスを作成します。

API バージョン

57.0

Chatter が必要かどうか

はい

署名

public static ConnectApi.CommerceSearchIndex postCommerceSearchIndex(String webstoreId)

パラメーター

webstoreId
型: String
WebStore の ID。
indexBuildType
型: ConnectApi.CommerceSearchIndexBuildType
インデックスの作成種別。値は次のとおりです。
  • Full
  • Incremental

使用方法

このメソッドは、現在のライブインデックスに取って代わるライブインデックスを作成します。このメソッドを使用して手動でインデックスを作成する場合、処理中のインデックスは削除されます。

getCommerceSearchIndex(webstoreId, indexId)

コマース検索インデックスを取得します。

API バージョン

52.0

Chatter が必要かどうか

はい

署名

public static ConnectApi.CommerceSearchIndex getSingleCommerceSearchIndex(String webstoreId, String indexId)

パラメーター

webstoreId
型: String
WebStore の ID。
indexId
型: String
���ンデックスの ID。

getCommerceSearchIndexes(webstoreId)

コマース検索インデックスを取得します。

API バージョン

52.0

Chatter が必要かどうか

はい

署名

public static ConnectApi.CommerceSearchIndexCollection getCommerceSearchIndexes(String webstoreId)

パラメーター

webstoreId
型: String
WebStore の ID。

getCommerceSearchIndexLogs(webstoreId)

コマース検索インデックスログを取得します。

API バージョン

57.0

Chatter が必要かどうか

いいえ

署名

public static ConnectApi.CommerceSearchIndexLogCollection getCommerceSearchIndexLogs(String webstoreId)

パラメーター

webstoreId
型: String
WebStore の ID。