Making custom database text fields available for search I have a custom module that stores text records in a table, however this table records are  not mapped to nor an entity neither a node, so as far as I know, I can't expose them to the search module or the search API.

So my question is how do I expose my data (custom table fields) to Drupal so I can use some sort of search module (preferably search API or the core search) ?.
You can use 


hook_search_info
hook_update_index


To define your own search type and add the required data to the index.