Additional data (other than what is available in SPI Field object) for the full text search needs to be indexed for fields of some field types.
Two base cases exist:
- for Country field type full country name is needed, this is provided through settings
- for Selection field type selected option labels need to be indexed, these are available in field definition settings
- Country field type case can be handled by providing country settings to the field type Indexable implementation (no interface change required)
- for Selection field type case SPI FieldDefinition should be added as second argument to Indexable::getIndexData()