Class

eZ\Publish\Core\Search\Elasticsearch\Content\FieldValueMapper\GeoLocationMapper

class GeoLocationMapper extends FieldValueMapper

Maps raw document field values to something Elasticsearch can index.

Methods

bool canMap(Field $field)

Check if field can be mapped.

mixed|null map(Field $field)

Map field value to a proper Solr representation.

Details

at line 27
public bool canMap(Field $field)

Check if field can be mapped.

Parameters

Field $field

Return Value

bool

at line 39
public mixed|null map(Field $field)

Map field value to a proper Solr representation.

Parameters

Field $field

Return Value

mixed|null Returns null on empty value