incubator-answer icon indicating copy to clipboard operation
incubator-answer copied to clipboard

Elasticsearch is a good candidate for the underlying database?

Open marshell0 opened this issue 3 years ago • 3 comments

For Q/A, is ES a better solution for this? I think it will simplify the development and improve the performance Do you have any plan for supporting ES in you roadmap?

marshell0 avatar Oct 27 '22 06:10 marshell0

Meilisearch better https://github.com/meilisearch/meilisearch-go

loid345 avatar Oct 27 '22 06:10 loid345

Interesting idea. ElasticSearch is good for searching, but for storing data, it's still debatable.

In Answer project, we use XORM to be the abstraction layer of database, so all data operations are designed for relational database. If you want to use ElasticSearch, you need to write your own data access layer. We'll continue to discuss this issue, and add ES support in our roadmap if it's necessary.

joyqi avatar Oct 27 '22 07:10 joyqi

It may be possible to use ES only for storage and search of critical data, such as titles and question content But correspondingly, developers need to increase the cost of use. It may be better for developers to let developers freely choose what kind of DB to use.

ppchart avatar Oct 28 '22 02:10 ppchart

Answer will support third-party search engine such as Elasticsearch plugin.

fenbox avatar Aug 25 '23 05:08 fenbox