[SOLVED] MySQL search engine or ElasticSearch engine, which one to use ?
Hello,
I know that Manticore Search is coming but it is the future 😉
In the meantime performances and servers resources have grown up to a point I'm not totally sure why I would use ElasticSearch instead of MySQL.
I tried to find documentation to pin-point the differences:
- https://doc.tiki.org/Search
- https://doc.tiki.org/Elasticsearch
- https://doc.tiki.org/Recommendation-Engine
- https://doc.tiki.org/How-to-configure-Tiki-for-Elasticsearch-Service
- https://doc.tiki.org/Search-General-Settings
I couldn't really find something tangible why I would should one or the other;
1. ElasticSearch brings faster search, better search
Not sure or proved today with middle class Tiki (trackeritem: 7348, article: 885, file: 2234, user: 1824, wiki page: 2052)
I tested both and have more issues with accents and partial term search with ES than with MySQL Search.
2. Faceted search, which also be used through PluginCustomSearch
Limited, complex (yes Jonny 🤣) and not always needed
3. Date-based aggregations, Stored Search, Module More Like This, Federated Search
Not always needed
4. Natural Language Processing
Unclear about what this does in an "Tiki standard" website
In short a little gain and feature addition is not always needed.
In regard the cost are real.
Require Elasticsearch and admin it
Require much more memory
...
So why one will used ElastiSearch instead of MySQL ?