adjustments
rename search subscriber fix: comments in medusa-interfaces/search-service.js add: use cursor pagination when indexing all products to search engine fix: emit product_id on product-variant creation fix: move search API route under products/search fix: use meilisearchService instead of searchService in plugin loader
This commit is contained in:
1 parent
1444353b0a
commit
3a10e37377
9 files changed
+68
-63
No files matched your search
+2
-2
@@ -2,7 +2,7 @@ import ProductService from "../services/product"
|
||||
import ProductVariantService from "../services/product-variant"
|
||||
import { flattenField } from "../utils/flatten-field"
|
||||
|
||||
class SearchSubscriber {
|
||||
class ProductSearchSubscriber {
|
||||
constructor({ eventBusService, searchService, productService }, options) {
|
||||
this.eventBus_ = eventBusService
|
||||
|
||||
@@ -86,4 +86,4 @@ class SearchSubscriber {
|
||||
}
|
||||
}
|
||||
|
||||
export default SearchSubscriber
|
||||
export default ProductSearchSubscriber
|
||||
Reference in new issue
Block a user