Preferred method of indexing bulk data into ElasticSearch?

前端 未结 2 1419
春和景丽
春和景丽 2021-02-14 12:30

I\'ve been looking at ElasticSearch as solution get some better search and analytics functionality at my company. All of our data is in SQL Server at the moment and I\'ve succes

2条回答
  •  误落风尘
    2021-02-14 13:08

    There are a lot of things that you can do. You can put your data in rabbitmq or redis, but your main problem is staying up to date. I guess you should look into an event based application. But if you really only have the sql server as a datasource you could work with timestamps and a query that checks for updates. Depending on the size of your database you can also just reindex the complete dataset.

    Using events or the query based solution, you can push these updates to elasticsearch, probably using the bulk api.

    The good part about a custom solution like this is that you can think about your mapping. This is important if you really want to do something smart with your data.

提交回复
热议问题