I've been trying to create a new fuzzy search with a data table I have created in the data tables module. The search API fails to index the results. I get the following errors:

SearchApiException: Unknown index fuzzy_index. in FuzzySearchService->search() (line 604 of /sites/all/modules/fuzzysearch/includes/service.inc).

SearchApiException: Could not index items since important pending server tasks could not be performed. in search_api_index_specific_items() (line 1622 of /panopoly/modules/contrib/search_api/search_api.module).

SearchApiDataSourceException while updating the fields of index Fuzzy Index on server Fuzzy Server: Entity type Product doesn't specify a type for the product_id property. in SearchApiEntityDataSourceController->getIdFieldInfo() (line 65 of /panopoly/modules/contrib/search_api/includes/datasource_entity.inc).

In the data table product_id is the primary key with type serial.

Comments

sweetdubbro created an issue. See original summary.

drunken monkey’s picture

Project: Search API » Data
Version: 7.x-1.21 » 7.x-1.x-dev
Component: General code » Entity API
Category: Support request » Bug report

Apparently, the data module doesn't provide enough entity metadata information for us to go on. In data_entity_entity_property_info(), the properties don't specify a 'type' even though that's required – probably that's the reason.