【问题标题】:How to index Azure storage data to elastic cloud如何将 Azure 存储数据索引到弹性云
【发布时间】:2017-11-29 15:12:26
【问题描述】:

我是弹性搜索的新手。我将数据存储在 Azure 存储中,我想使用 elasticsearch 对其进行索引。我在https://cloud.elastic.co 创建了一个集群。我是否需要创建一个服务来索引弹性云中的数据,然后用户可以使用弹性搜索来使用/搜索这些数据?如何使用 asp.net MVC 将数据索引到弹性云?

请提出建议。

【问题讨论】:

    标签: elasticsearch azure-blob-storage nest azure-table-storage


    【解决方案1】:

    解决此问题的一种方法是编写一个控制台应用程序

    1. 使用 WindowsAzure.Storage nuget 包或类似包中的存储客户端从 Azure 存储中提取数据
    2. 根据您的领域需求将数据转换为文档
    3. 使用.NET Elasticsearch client NEST 将文档批量索引到 Elastic Cloud 中的 Elasticsearch

    如果数据将在 Azure 存储中更新并且需要经常在 Elasticsearch 中建立索引,请考虑将控制台应用程序设置为 Azure Web Job

    另一种方法是将Logstashinput plugin for Azure Storage blobs 结合使用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-01-18
      • 2020-10-26
      • 2021-12-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多