la-haute-societe / craft-elasticsearch

Bring the power of Elasticsearch to your Craft CMS projects
Other
18 stars 14 forks source link

Elasticsearch request failed with code 400: No processor type exists with name [attachment] #21

Closed teamteak closed 1 year ago

teamteak commented 2 years ago

Getting the following 404 error durring Index:

Elasticsearch request failed with code 400. Response body: {"error":{"root_cause":[{"type":"parse_exception","reason":"No processor type exists with name [attachment]","processor_type":"attachment"}],"type":"parse_exception","reason":"No processor type exists with name [attachment]","processor_type":"attachment"},"status":400}
Screen Shot 2021-11-23 at 9 58 43 AM
nstCactus commented 2 years ago

Your Elasticseach instance is probably missing the ingest-attachment plugin.

If you're sure it is installed, could you give me more details on this issue? Which version of Elasticsearch are you using?

Also, could you force the recreation of indices and see if it helps? You can do this using the utility at /admin/utilities/refresh-elasticsearch-index.