CommerceSearchSettings Class
Get indexes. Get index logs. Create an index of a product catalog.
These methods are for CommerceSearchSettings. All methods are static.
-
createCommerceSearchIndex(webstoreId, indexBuildType)
Create an index of a product catalog.
-
getCommerceSearchIndex(webstoreId, indexId)
Get a Commerce search index.
-
getCommerceSearchIndexes(webstoreId)
Get Commerce search indexes.
-
getCommerceSearchIndexLogs(webstoreId)
Get Commerce search index logs.
Create an index of a product catalog.
57.0
Yes
public static ConnectApi.CommerceSearchIndex createCommerceSearchIndex(String webstoreId, String indexBuildType)
- webstoreId
Type: String
ID of the webstore.
indexBuildType
Type: ConnectApi.CommerceSearchIndexBuildType
Build type of the index. Values are:
FullIncremental
Type: ConnectApi.CommerceSearchIndex
This method creates a live index that replaces the current live index. Any indexes that are in progress are removed when you manually create an index with this method.
Get a Commerce search index.
52.0
Yes
public static ConnectApi.CommerceSearchIndex getSingleCommerceSearchIndex(String webstoreId, String indexId)
- webstoreId
Type: String
ID of the webstore.
- indexId
Type: String
ID of the index.
Type: ConnectApi.CommerceSearchIndex
Get Commerce search indexes.
52.0
Yes
public static ConnectApi.CommerceSearchIndexCollection getCommerceSearchIndexes(String webstoreId)
- webstoreId
Type: String
ID of the webstore.
Type: ConnectApi.CommerceSearchIndexCollection
Get Commerce search index logs.
57.0
No
public static ConnectApi.CommerceSearchIndexLogCollection getCommerceSearchIndexLogs(String webstoreId)
- webstoreId
Type: String
ID of the webstore.