When I use the function putMapping, I have a following error :
MergeMappingException[Merge failed with failures {[mapper [document_col1] has different index_analyzer]}]". I specify that I already data in ElasticSearch.
I try to remove mapping and index and then create index, put mapping and add index the document but the type and index specify in $mappingProperties are not correct. I do like following :
Document::createIndex($shards = null, $replicas = null);
Document::putMapping($ignoreConflicts = true);
And foreach document :
$document::addToIndex();
Hello everyone,
Could someone help me to solve this problem?