-
Notifications
You must be signed in to change notification settings - Fork 8
Description
https://github.com/erikattechslice/tripal_elasticsearch I have a fork and trying to get the module to work with ES7. Getting the below error for entities index:
site http://default] [TRIPAL ERROR] [TRIPAL_ELASTICSEARCH] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"mapper [entity_id] cannot be changed from type [integer] to [long]"}],"type":"illegal_argument_exception","reason":"mapper [entity_id] cannot be changed from type [integer] to [long]"},"status":400}
also seeing this warn spam from the cron:
Invalid argument supplied for foreach() file_entity.file.inc:248 [warning]
Invalid argument supplied for foreach() file_entity.file.inc:248 [warning]
Invalid argument supplied for foreach() file_entity.file.inc:248 [warning]
Invalid argument supplied for foreach() file_entity.file.inc:248 [warning]
Invalid argument supplied for foreach() file_entity.file.inc:248 [warning]
Invalid argument supplied for foreach() file_entity.file.inc:248
i tried to force tine entity_id to an int on line 175 of EntiitesIndexJob.php with 👍
$all[] = (object) [
'entity_id' => (int)($entity->id),
'title' => $title,
'bundle_label' => $record->bundle_label,
'content' => $content,
];
any thoughts? Thanks for the help