vendure-ecommerce/vendure

Search query returns empty response using @vendure/elasticsearch-plugin

Closed this issue · 1 comments

Describe the bug
Search query returns empty response

To Reproduce
Steps to reproduce the behavior:

  1. Create new vendure project
  2. Install elasticseach plugin
  3. Execute search query
  4. See empty response

Expected behavior
Correct search response should return

Environment (please complete the following information):

  • @vendure/core version: 3.0.5
  • @vendure/elasticsearch-plugin: 3.0.5
  • Nodejs version: 20.10
  • Database (mysql/postgres etc): postgres:16-alpine
  • ElasticSearch: docker.elastic.co/elasticsearch/elasticsearch:7.1.1

Using @vendure/elasticsearch-plugin:
image

Using DefaultSearchPlugin:
image

type Mutation {
  reindex: [Job](https://docs.vendure.io/reference/graphql-api/admin/object-types#job)!
}

Reindex() was helpful, but reindex process is not described in the plugin documentation...