diff --git a/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndex.php b/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndex.php index 7ed885eec6..1447c7d8da 100644 --- a/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndex.php +++ b/lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndex.php @@ -73,7 +73,7 @@ class RecordIndex implements MappingProvider $mapping->addIntegerField('height')->disableIndexing(); $mapping->addIntegerField('size')->disableIndexing(); - $mapping->addGeoPointField('location')->disableIndexing(); + $mapping->addGeoPointField('location'); $mapping->addDateField('created_on', FieldMapping::DATE_FORMAT_MYSQL_OR_CAPTION); $mapping->addDateField('updated_on', FieldMapping::DATE_FORMAT_MYSQL_OR_CAPTION);