Many search engines that use a Lucene backend for searches (i.e Solr, ElasticSearch) map fields to field types. Search Lucene API would benefit from a field mapping hook, and it would also open the possibility of combining hooks such as hook_luceneapi_sortable_fields() into one unified hook that stores all information about the field.
Comments
Comment #1
cpliakas commentedFixed typo in title.
Comment #2
cpliakas commentedhook_luceneapi_field_info() satisfies this requirement.