Issue 10470
Remove non enum values from solr index for enum based facets
10470
Reporter: mdoering
Assignee: fmendez
Type: Bug
Summary: Remove non enum values from solr index for enum based facets
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2011-12-01 22:13:19.419
Updated: 2013-12-09 14:01:19.134
Resolved: 2011-12-09 11:42:22.486
Description: The following facets are enum based:
- rank
- taxonomicStatus
- threatStatus
The solr index (should) contain 2 fields for each of those facets:
xxx = the verbatim, preferred term
xxx_key = the preferred term id
the key is used in facets and to convert to the enum values. The index should only contain values that map to an enum entry, all others should be null in the index.
For this the import handler should use some entity processor to map all non enums to null using the respective enum converters.
]]>
Author: fmendez@gbif.org
Comment: The ChecklistBankEnumTransformer assigns "null" to key values that don't have a valid Enum mapping
Created: 2011-12-09 11:42:22.519
Updated: 2011-12-09 11:42:22.519