docs: meilisearch integration tutorial (#13532)
* docs: meilisearch integration tutorial * generate llms
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -183,7 +183,7 @@ If you want to index other types of data, such as product categories, you can ad
|
||||
|
||||
A module's service receives the module's options as a second parameter in its constructor. In the constructor, you initialize the Algolia client using the module's options.
|
||||
|
||||
<Note title="What is th second constructor parameter?">
|
||||
<Note title="What is the first constructor parameter?">
|
||||
|
||||
A module has a container that holds all resources registered in that module, and you can access those resources in the first parameter of the constructor. Learn more about it in the [Module Container documentation](!docs!/learn/fundamentals/modules/container).
|
||||
|
||||
@@ -535,7 +535,18 @@ export const syncProductsWorkflow = createWorkflow(
|
||||
({ filters, limit, offset }: SyncProductsWorkflowInput) => {
|
||||
const { data, metadata } = useQueryGraphStep({
|
||||
entity: "product",
|
||||
fields: ["id", "title", "description", "handle", "thumbnail", "categories.*", "tags.*"],
|
||||
fields: [
|
||||
"id",
|
||||
"title",
|
||||
"description",
|
||||
"handle",
|
||||
"thumbnail",
|
||||
"categories.id",
|
||||
"categories.name",
|
||||
"categories.handle",
|
||||
"tags.id",
|
||||
"tags.value",
|
||||
],
|
||||
pagination: {
|
||||
take: limit,
|
||||
skip: offset,
|
||||
|
||||
1247
www/apps/resources/app/integrations/guides/meilisearch/page.mdx
Normal file
1247
www/apps/resources/app/integrations/guides/meilisearch/page.mdx
Normal file
File diff suppressed because it is too large
Load Diff
@@ -289,6 +289,14 @@ Integrate a search engine to index and search products or other types of data in
|
||||
variant: "blue",
|
||||
children: "Tutorial"
|
||||
}
|
||||
},
|
||||
{
|
||||
href: "/integrations/guides/meilisearch",
|
||||
title: "Meilisearch",
|
||||
badge: {
|
||||
variant: "blue",
|
||||
children: "Tutorial"
|
||||
}
|
||||
}
|
||||
]}
|
||||
className="mb-1"
|
||||
|
||||
@@ -103,7 +103,7 @@ export const generatedEditDates = {
|
||||
"app/deployment/admin/vercel/page.mdx": "2024-10-16T08:10:29.377Z",
|
||||
"app/deployment/storefront/vercel/page.mdx": "2025-05-20T07:51:40.712Z",
|
||||
"app/deployment/page.mdx": "2025-09-29T10:23:47.833Z",
|
||||
"app/integrations/page.mdx": "2025-08-07T06:06:50.604Z",
|
||||
"app/integrations/page.mdx": "2025-09-17T08:08:37.954Z",
|
||||
"app/medusa-cli/page.mdx": "2024-08-28T11:25:32.382Z",
|
||||
"app/medusa-container-resources/page.mdx": "2025-07-31T13:24:15.786Z",
|
||||
"app/medusa-workflows-reference/page.mdx": "2025-01-20T08:21:29.962Z",
|
||||
@@ -6047,7 +6047,7 @@ export const generatedEditDates = {
|
||||
"app/troubleshooting/workflow-errors/step-x-defined/page.mdx": "2025-03-21T07:09:02.741Z",
|
||||
"app/troubleshooting/workflow-errors/when-then/page.mdx": "2025-03-21T08:35:45.145Z",
|
||||
"app/how-to-tutorials/tutorials/abandoned-cart/page.mdx": "2025-06-26T11:45:57.112Z",
|
||||
"app/integrations/guides/algolia/page.mdx": "2025-06-26T12:33:36.673Z",
|
||||
"app/integrations/guides/algolia/page.mdx": "2025-09-17T07:36:03.845Z",
|
||||
"app/integrations/guides/magento/page.mdx": "2025-05-20T07:51:40.716Z",
|
||||
"app/js-sdk/auth/overview/page.mdx": "2025-03-28T08:05:32.622Z",
|
||||
"app/how-to-tutorials/tutorials/loyalty-points/page.mdx": "2025-06-26T11:58:07.874Z",
|
||||
@@ -6608,6 +6608,7 @@ export const generatedEditDates = {
|
||||
"references/core_flows/Locking/Steps_Locking/variables/core_flows.Locking.Steps_Locking.acquireLockStepId/page.mdx": "2025-09-15T09:52:14.218Z",
|
||||
"references/core_flows/Locking/Steps_Locking/variables/core_flows.Locking.Steps_Locking.releaseLockStepId/page.mdx": "2025-09-15T09:52:14.219Z",
|
||||
"references/core_flows/Locking/core_flows.Locking.Steps_Locking/page.mdx": "2025-09-15T09:52:14.217Z",
|
||||
"app/integrations/guides/meilisearch/page.mdx": "2025-09-17T08:34:58.966Z",
|
||||
"app/nextjs-starter/guides/storefront-returns/page.mdx": "2025-09-22T06:02:00.580Z",
|
||||
"references/js_sdk/admin/Admin/properties/js_sdk.admin.Admin.views/page.mdx": "2025-09-18T17:04:59.240Z",
|
||||
"app/how-to-tutorials/tutorials/agentic-commerce/page.mdx": "2025-10-02T07:14:50.956Z",
|
||||
|
||||
@@ -923,6 +923,10 @@ export const filesMap = [
|
||||
"filePath": "/www/apps/resources/app/integrations/guides/mailchimp/page.mdx",
|
||||
"pathname": "/integrations/guides/mailchimp"
|
||||
},
|
||||
{
|
||||
"filePath": "/www/apps/resources/app/integrations/guides/meilisearch/page.mdx",
|
||||
"pathname": "/integrations/guides/meilisearch"
|
||||
},
|
||||
{
|
||||
"filePath": "/www/apps/resources/app/integrations/guides/payload/page.mdx",
|
||||
"pathname": "/integrations/guides/payload"
|
||||
|
||||
@@ -257,10 +257,18 @@ const generatedgeneratedIntegrationsSidebarSidebar = {
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "ref",
|
||||
"type": "link",
|
||||
"path": "/integrations/guides/algolia",
|
||||
"title": "Algolia",
|
||||
"children": []
|
||||
},
|
||||
{
|
||||
"loaded": true,
|
||||
"isPathHref": true,
|
||||
"type": "link",
|
||||
"path": "/integrations/guides/meilisearch",
|
||||
"title": "Meilisearch",
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -174,10 +174,15 @@ export const integrationsSidebar = [
|
||||
initialOpen: true,
|
||||
children: [
|
||||
{
|
||||
type: "ref",
|
||||
type: "link",
|
||||
path: "/integrations/guides/algolia",
|
||||
title: "Algolia",
|
||||
},
|
||||
{
|
||||
type: "link",
|
||||
path: "/integrations/guides/meilisearch",
|
||||
title: "Meilisearch",
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user