search in node-with-comments plus in unpublished nodes I need on my site a search. It should index the comments too, fulltext index is fine, they could be seen as part of body.

But as I use workbench with many steps, most nodes are unpublished. And I guess that ist not possible with builtin search. 

So I checked search_api and it works for all content and its fields but NOT the comments. 

Any suggestions what I could try?
You can use 
hook_searchapi_entity_property_info_alter:

function mymodule_searchapi_entity_property_info_alter(&amp;$info) {
    if (isset($info['node']['bundles'])) {
        // For each content type.
        foreach ($info['node']['bundles'] as $bundle_type =&gt; $bundle) {
                $info['node']['bundles'][$bundle_type]['properties']['comments'] = array(
                    'label' =&gt; 'node comments',
                    'description' =&gt; 'the comments of the node',
                    'type' =&gt; 'text', // or whatever you want here
                    'getter callback' =&gt; 'mymodule_searchapi_get_whatever', // name me whatever you want

                );
            }
        }
    }
}


and your callback

function mymodule_searchapi_get_whatever($entity, $options, $name, $entity_type, &amp;$info) {
    // return the comments here, as you have everything in the function variables - i.e. use return.
}


Look at example implemntations of this hook and it should be enough to get your started.