function search_api_flush_caches in Search API 7
Implements hook_flush_caches().
Recalculates fields settings in case the schema (in most cases: the multiplicity) of a property has changed.
File
- ./
search_api.module, line 1024 - Provides a flexible framework for implementing search services.
Code
function search_api_flush_caches() {
search_api_index_recalculate_fields();
}