0

In my website some times category page shows "We can't find products matching the selection." When i run "indexer:reindex"

it shows

Catalog Search index exception: Could not ping search engine: No alive nodes found in your cl

Every time i'm restart the server to clear the error. I need a permanent solution to clear this error.

6
  • did you get elasticsearch error?
    – S.P
    Apr 21 at 13:21
  • execute below commands and restart your elasticsearch.
    – S.P
    Apr 21 at 13:26
  • Now i execute below command it display "{"acknowledged":true}". Let me confirm this error will not come next time?
    – Priya
    Apr 22 at 5:07
  • also check your elasticsearch status and port
    – S.P
    Apr 22 at 5:37
  • I had checked for 9200 elasticsearch port.
    – S.P
    Apr 22 at 5:38

1 Answer 1

1

may be your elasticsearch not working.

execute below commands

sudo curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_cluster/settings -d '{ "transient": { "cluster.routing.allocation.disk.threshold_enabled": false } }'

sudo curl -XPUT -H "Content-Type: application/json" http://localhost:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete": null}'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.