helsingborg-stad/algolia-frontend

Replaces the standard algolia frontend with our own. Forces algolia to use specific settings.

1.0.11 2018-04-23 14:26 UTC

This package is auto-updated.

Last update: 2021-04-20 15:59:55 UTC


README

Replaces the standard algolia frontend with our own. Forces algolia to use specific settings.

Define the indexes to search as a constant.

define('ALGOLIA_FRONTEND_INDEXES', array( array('index_name_key', '50', "Invånare"), array('index_name_key_second', '100', "Företagare") );

The second parameter indicate max number of resuls to return from this index.