skip to Main Content

I ran bin/magento indexer:reindex but I get the following error:
Catalog Search index process unknown error: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [_search]"}],"type":"mapper_parsing_exception","reason":"No handler for type [text] declared on field [_search]"},"status":400}
What could be the problem, and how can I solve it?

2

Answers


  1. Chosen as BEST ANSWER

    I fixed it by updating elasticsearch to the latest version


  2. /etc/apache2/sites-available/elasticsearch.conf
    
    => paste this code
    
    <VirtualHost *:8080>
    ProxyPass "/" "http://localhost:9200/"
    ProxyPassReverse "/" "http://localhost:9200/"
    </VirtualHost>
    
    sudo a2ensite elasticsearch.conf
    

    Visit this link for detailed clarification

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search