All Release Notes

Added configuration for indexing of product information

26 February 2021
Enhancement
CustomizationSearchGraphQL

Indexing of product information for the Product Projection Search and the Product Suggestions endpoints is now configurable via the Project endpoint. Using these endpoints is only possible if indexing has been activated for the Project and the search index has been built. Otherwise, the API replies with a 400 Bad Request error to requests on these endpoints.

The following changes were introduced in terms of GraphQL SDL:

extend type ProjectProjection {
searchIndexing: SearchIndexingConfiguration
}
extend input ProjectSettingsUpdateAction {
changeProductSearchIndexingEnabled: ChangeProjectSettingsProductSearchIndexingEnabled
}
input ChangeProjectSettingsProductSearchIndexingEnabled {
enabled: Boolean!
}
type SearchIndexingConfiguration {
products: SearchIndexingConfigurationValues
}
type SearchIndexingConfigurationValues {
status: SearchIndexingStatus
}
enum SearchIndexingStatus {
Activated
Indexing
Deactivated
}