We just rolled out a new core integration with the search engine provider Algolia, which is available for the Professional tier and above.
It is currently in Beta - it is already available for all main cluster apps, and dedicated instances will be able to see it in an upcoming version you can upgrade your instance to.
- Super fast searches on indexed types
- Partial word matching (only on the beginning of a word)
- Customizable search (field priority, typo resilience, case sensitivity) via Algolia interface
- Can be used either for Search Boxes or as a generic data source
- Data types and fields sent to Algolia are configured from the editor (via Privacy page in the Data tab)
Tips and gotchas:
- This feature will use your own Algolia API keys, i.e. you must be an Algolia user. They provide a free tier as well as free 7-day trials for premium tiers on their website.
- Initial indexing of existing types can be slow and will use capacity
- At the moment (for the Beta), updates to indexed types should be synced to Algolia automatically, but there might be situations where your Algolia index falls out of sync with your Bubble tables (e.g. if certain updates fail for whatever reason). In this event, you can trigger a full re-indexing that should address any problems, should there be any.
- At the moment, custom fields (i.e. fields which are other data types) cannot be indexed in Algolia
- As you’re exploring Algolia’s features, you’ll notice that you can configure the order of different fields of your index in terms of order of priority / search; there will be situations where you can weight two fields equally, but you should NOT do this because it will break Bubble’s implementation (i.e. all fields should be kept in a strict linear order of priority)
- At the moment, some Algolia features (query size, pagination, typo sensitivity…) are not handled on Bubble’s side. You can adjust these settings on a per-table basis in Algolia’s configuration dashboard, but not directly in the Bubble Editor
Enjoy, and be sure to send any bug reports our way!