6

Has anyone had experience integrating craft with algolia: https://www.algolia.com for realtime search of craft entries.

It seems like there are a few potential approaches with their Php and Js libraries. Does anyone recommend a particular approach or best practice for integrating a service like this with Craft.

  • Is this purely for the front-end? i.e. not replace the default search capabilities of the CP. – Brad Bell Sep 16 '15 at 20:55
  • Yup just front-end – Matt Sep 17 '15 at 1:08
7

Disclaimer : I'm the dev of the SearchPlus plugin

The SearchPlus plugin by SquareBit (currently in private beta) integrates directly with Algolia and handles all the index population and updates.

There's also a few helpers for integrating on the front-end.

All told - you should be able to just drop the plugin onto the site, configure your indexes and start a population action, drop a bit of js on the front-end and you're done.

Drop me a line and I'll get you on the beta.

1

Seems like a pretty straight forward integration with a Craft plugin, then.

They've already got a PHP client up on packagist and what looks to be pretty extensive documentation how to use it.

1

There is an open-source Craft 2.x plugin for Algolia:
https://github.com/joshuabaker/craft-algolia

I haven't used it, but it would be a good place to start.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.