1.1 Introduction
This enhancement is only available in KiyoCRM from version 7.11 onwards.
Elasticsearch is an indexing engine that is built specifically to have almost real-time search results, optimized for searching text strings. It is built in Java and runs as a separate server/process.
Elasticsearch can be integrated with KiyoCRM to widely improve search quality and time. To achieve this, search-enabled modules are indexed on the Elasticsearch server. When a search query is received by KiyoCRM it is redirected to the Elasticsearch server, which will perform an optimized search and return the results back to the CRM.
KiyoCRM 7.11 requires Elasticsearch 5.6. KiyoCRM 7.12 requires Elasticsearch 7.
Synchronization between the database and the Elasticsearch index happens in three main ways:
- Logic Hooks
-
Every time a record is updated it gets re-indexed automatically.
- Scheduled task
-
A scheduler job will run periodically to make sure that the database and the index are synchronized.
- Manual indexing
-
A full or partial index can be requested by an administrator via the admin panel or from a Robo task.