In the screenshot I show a file field that in translatable. But the way apachesolr tries to index it is by calling

function apachesolr_file_indexing_callback($entity, $field_name, $index_key, $field_info) {
  $fields = array();
  if (!empty($entity->{$field_name}) && array_key_exists(LANGUAGE_NONE, $entity->$field_name)) {

However the fields array will always be empty as the second condition is false. Is this how it's supposed to work? Could this be potentially a bug?

CommentFileSizeAuthor
Screen Shot 2016-12-06 at 12.46.04 PM.png36.9 KBawm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

awm created an issue.