Search Api custom field type I have a field that concatenates multiple taxonomomy terms  into a single text field. I have altered the existing module concat_field.

This all works fine but I cannot get search API to recognize the field (it worked with an older version of search api)

I have added this to the module:

function concat_field_property_info_callback(&amp;$info, $entity_type, $field, $instance, $field_type) {
  $property = &amp;$info[$entity_type]['bundles'][$instance['bundle']]['properties'][$field['field_name']];

  $property['type'] ='text'; //tried concat_field as well which is the type in concat_field_field_info
  $property['getter callback'] = 'entity_metadata_field_verbatim_get';
  $property['setter callback'] = 'entity_metadata_field_verbatim_set';
  $property['label'] = 'Concat field';
  $property['description'] = 'concatenated field';   
  unset($property['query callback']);
}


Any clue what i am doing wrong?
I think you need to follow following approach:

 /**
 * Implements hook_entity_property_info_alter().
 */
function modulename_property_info_alter(&amp;$info) {
  $info['node']['properties']['concat_field'] = array(
    'type' =&gt; 'text',
    'label' =&gt; t('Concatenated form of all the taxonomies that has been added to the node'),
    'sanitized' =&gt; TRUE,
    'getter callback' =&gt; 'modulename_search_api_property_concat_field_callback',
  );
}

/**
 * Getter callback for concatenate terms field.
 */
function modulename_search_api_property_concat_field_callback($item) {
  /** Do all your processing/functionality here. **/
  return &lt;resultant concatenated value&gt;;
}