File fields should be indexed, using elasticsearch's builtins or using search_api_attachments.
Steps to reproduce:
Install this module and search_api_attachments.
Add field 'field_pdf' to content type.
Install Tika and configure at admin/config/search/search_api/attachments.
Add 'field_pdf' to indexed fields list.
Enable 'File attachements' in Filters-> Data Alterations.
Original issue: https://www.drupal.org/node/2420385
File fields should be indexed, using elasticsearch's builtins or using search_api_attachments.
Steps to reproduce:
Install this module and search_api_attachments.
Add field 'field_pdf' to content type.
Install Tika and configure at admin/config/search/search_api/attachments.
Add 'field_pdf' to indexed fields list.
Enable 'File attachements' in Filters-> Data Alterations.
Expected results:
Tika runs, and extracted text is added to index.
Actual results:
No log entries indicating Tika is run.
curl http://localhost:9200/elasticsearch_index_drupal_articles/_search?pretty...
...
"hits" : {
"total" : 1,
"max_score" : 1.0,
"hits" : [ {
"_index" : "elasticsearch_index_drupal_articles",
"_type" : "articles",
"_id" : "1",
"_score" : 1.0,
"_source":{"id":1,"attachments_field_pdf":null,...}
} ]
}
}