可以将Azure认知搜索用作某些数据的主数据库吗? [英] Can Azure Cognitive Search be used as a primary database for some data?

查看:53
本文介绍了可以将Azure认知搜索用作某些数据的主数据库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Microsoft将Azure搜索推广为云搜索",但不一定表示它是数据库".或数据存储".不用说这是大数据了.

Microsoft promotes Azure Search as "cloud search", but doesn't necessarily say it's a "database" or "data storage". It stops short of saying it's big data.

可以/应该将Azure搜索用作某些数据的主数据库吗?还是应该总是有一些主要"信息?在数据库中复制"的数据存储区.在Azure搜索中用于搜索?

Can/should Azure Search be used as the primary database for some data? Or should there always be some "primary" datastore that is "duplicated" in Azure Search for search purposes?

如果是这样,在什么情况下/什么情况下使用Azure搜索作为主数据库有意义?

If so, under what circumstances/what scenarios does it make sense to use Azure Search as a primary database?

推荐答案

尽管我们通常不建议这样做,但在以下情况下,您可以考虑将Azure搜索用作主存储:

Although we generally don't recommend it, you might consider using Azure Search as a primary store if:

  1. 您的应用可以容忍某些数据不一致. Azure搜索最终是一致的.
    • 索引数据时,该数据不可立即查询.
    • 当前没有机制来控制索引中对同一文档的并发更新.
    • 使用搜索查询读取数据时,分页不是基于任何快照,因此您可能会丢失或重复的文档.
  1. Your app can tolerate some data inconsistency. Azure Search is eventually consistent.
    • When you index data, it is not available for querying immediately.
    • Currently there is no mechanism to control concurrent updates to the same document in an index.
    • When reading data using search queries, paging is not based on any kind of snapshot, so you may get missing or duplicated documents.

请注意,为了便于管理和易于使用,我们将来希望在其中许多领域进行改进,但将Azure Search用作通用NoSQL数据库从来不是我们的目标.

Note that many of these are areas where we want to improve Azure Search in the future for the sake of manageability and ease of use, but it has never been our goal to make Azure Search a general-purpose NoSQL database.

这篇关于可以将Azure认知搜索用作某些数据的主数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆