CommerceSearchSettings クラス
インデックスを取得します。インデックスログを取得します。商品カタログのインデックスを作成します。
名前空間
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)
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。