Active
Project:
Elasticsearch Helper
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2017 at 16:02 UTC
Updated:
18 Dec 2017 at 16:02 UTC
Jump to comment: Most recent
Comments
Comment #2
dajjenThe code in the example of MultilingualContentIndex in the elasticsearch_helper_example have a setup function that is first checking if indices exist before creating a new one.
This code was I'm using in my custom module that is using Amazon ES.
for some reason this check doesn't work.
I will continue research this and see why this is not working.
A workaround for now is to remove this check before $this->client->indices()->create(...).
But be aware of that this will try to create indices even though there is one already with that name. In my case i'm not calling setup without calling delete first.