Skip to content

[Algolia integration] the current project doesn't allow geolocation indexing #213

@giuunit

Description

@giuunit

Based on Algolia documentation, we should be able to add geolocation properties inside algolia using the format listed here:

https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#enabling-geo-search-by-adding-geolocation-data-to-records

We need a record with a "_geoloc" attribute that contains an object with lat/long properties.

The issue we have is that all the "hardcoded" properties are locked inside the SearchController.

I think it would be good to have a "before indexing" event for the Record object where we would be able to edit any property like non data properties after the hydration from the converters based on the Data dictionary.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions