further adjustments based on seb's feedback
This commit is contained in:
1 parent
560cc0de55
commit
451e3bcdcf
9 files changed
+74
-59
No files matched your search
@@ -88,6 +88,15 @@ class SearchService extends BaseService {
|
||||
updateSettings(indexName, settings) {
|
||||
throw Error("updateSettings must be overridden by a child class")
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to perform transformations (if any) on products before indexation
|
||||
* @param products {Array.<Object>} - the list of products
|
||||
* @return {Array.<Object>} - returns the transformed products
|
||||
*/
|
||||
transformProducts(products) {
|
||||
throw Error("transformProducts must be overridden by a child class")
|
||||
}
|
||||
}
|
||||
|
||||
export default SearchService
|
||||
Reference in new issue
Block a user