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

cpliakas’s picture

Title: Implement a field mapping hook to map field names to filed types » Implement a field mapping hook to map field names to field types

Fixed typo in title.

cpliakas’s picture

Status: Postponed » Fixed

hook_luceneapi_field_info() satisfies this requirement.

Status: Fixed » Closed (fixed)
Issue tags: -7.x-3.0-dev

Automatically closed -- issue fixed for 2 weeks with no activity.