#Search index has been created but no products are populated

2 messages · Page 1 of 1 (latest)

real prairie
#

I've been following both Algolia (https://docs.medusajs.com/plugins/search/algolia) and MeiliSearch (https://docs.medusajs.com/plugins/search/meilisearch) documentation from the website. None of them works as expected.

I can see the index has been created but there's no records populated. here's my dependancies in package.json

"dependencies": {
    "@babel/preset-typescript": "^7.21.4",
    "@medusajs/admin": "^6.0.1",
    "@medusajs/cache-inmemory": "^1.8.4",
    "@medusajs/cache-redis": "^1.8.4",
    "@medusajs/event-bus-local": "^1.9.1",
    "@medusajs/event-bus-redis": "^1.8.4",
    "@medusajs/medusa": "nextjs-commerce",
    "@medusajs/medusa-cli": "^1.3.12",
    "babel-preset-medusa-package": "^1.1.13",
    "body-parser": "^1.20.2",
    "cors": "^2.8.5",
    "express": "^4.17.2",
    "medusa-file-s3": "^1.2.1",
    "medusa-fulfillment-manual": "^1.1.37",
    "medusa-interfaces": "^1.3.7",
    "medusa-payment-manual": "^1.0.23",
    "medusa-payment-stripe": "^6.0.2",
    "medusa-plugin-algolia": "^0.2.19",
    "medusa-plugin-meilisearch": "^2.0.9",
    "stripe": "^12.14.0",
    "typeorm": "npm:@medusajs/typeorm@next"
  },
  "devDependencies": {
    "@babel/cli": "^7.14.3",
    "@babel/core": "^7.14.3",
    "@types/express": "^4.17.13",
    "@types/jest": "^27.4.0",
    "@types/node": "^17.0.8",
    "babel-preset-medusa-package": "^1.1.13",
    "cross-env": "^7.0.3",
    "eslint": "^6.8.0",
    "jest": "^27.3.1",
    "mongoose": "^5.13.14",
    "rimraf": "^3.0.2",
    "ts-jest": "^27.0.7",
    "ts-loader": "^9.2.6",
    "typescript": "^4.5.2"
  },

and attach is my medusa-config.js

I'm testing this on my local mac

Learn how to integrate Algolia with the Medusa backend. Learn how to install the Algolia plugin into the Medusa backend and how to integrate it into a storefront.

Learn how to integrate MeiliSearch with the Medusa backend. Learn how to install the MeiliSearch plugin on the Medusa backend and integrate it into the storefront.

autumn shard
#

Show your Medusa config