Skip to main content
The Enterspeed Algolia integration uses destinations to send data from views directly to a configured Algolia index. This means that you can decide on the schema level which views you want to send to Algolia. You will only have to set the destination field on the entity schema you want to send to Algolia. All schema references are automatically resolved so you don’t have to set it on all referenced schemas. It’s possible to configure multiple Algolia destinations if you need to push different types of data to different Algolia indexes.

Configuration

In order to setup the Algolia configuration you need the following:

Options

Table of available options, that you can optionally specify, if needed for your use case.
Algolia does not support partial deletes. This means that if you are using partial updates and you want to clear the attributes from the partial update, you should not delete the source entity that triggers the partial update in Enterspeed.Instead you should update the source entity and set the properties to default values, like null, an empty string, an empty array and so on.

Example of usage

Schema with Algolia destination

Algolia specific properties

_geoloc

_geoloc is a special property in Algolia used for doing geo-searching. See Algolia documentation As stated in the Algolia documentation, the lat and lng properties must be numeric values. This means that you will need to make sure that your Enterspeed schema is mapping these properties as numeric values and not as strings.
Schema with Algolia destination