fix: meiliesearch README.md + remove: searchService from silentResolver
This commit is contained in:
1 parent
0fbde7c51f
commit
1444353b0a
2 files changed
+4
-6
No files matched your search
@@ -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"],
|
||||||
}
|
}
|
||||||
],
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user