fix: meiliesearch README.md + remove: searchService from silentResolver

This commit is contained in:
zakariaelas committed 2021-09-16 16:49:49 +01:00
1 parent 0fbde7c51f
commit 1444353b0a
2 files changed
+4 -6

No files matched your search

+4 -3
View File
@@ -8,12 +8,13 @@ Meilisearch Plugin for Medusa to search for products.
config: { config: {
host: [your meilisearch host], host: [your meilisearch host],
}, },
settings: [meilisearch settings passed to meilisearch's `updateSettings()` method on an index: settings: {
[indexName]: [meilisearch settings passed to meilisearch's `updateSettings()` method]
// example // example
{ products: {
searchableAttributes: ["title", "description", "sku"], searchableAttributes: ["title", "description", "sku"],
displayedAttributes: ["title", "description", "sku"], displayedAttributes: ["title", "description", "sku"],
} }
], }
} }
``` ```
-3
View File
@@ -20,9 +20,6 @@ const silentResolution = (container, name, logger) => {
case "fulfillmentProviders": case "fulfillmentProviders":
identifier = "fulfillment" identifier = "fulfillment"
break break
case "searchService":
identifier = "search"
break
default: default:
identifier = name identifier = name
} }