Benefits of using Document DB after connecting with Azure Search [closed]

时间秒杀一切 提交于 2019-12-23 05:29:11

问题


I'm storing the data for my in Azure Document DB. In order to allow search over the description field of my data, I've connected my document DB repository with Azure Search, as explained here: https://docs.microsoft.com/en-us/azure/documentdb/documentdb-search-indexer

I also need to filter the results of the search via several parameters. I find myself adding more an more fields to my Azure Search indexers, up to the point where I'm almost duplicating my database entities to the Azure search entities.

The question - If I need to search over my data and decide to use Azure search, is there any benefit to keeping the data in Document DB, or will it be better to model it again using only Azure Search?


回答1:


Document DB provides consistency guarantees that Azure Search does not. In general we don't recommend using Azure Search as a primary store. See my answer to this other SO question for specific caveats: Can Azure Search be used as a primary database for some data?



来源:https://stackoverflow.com/questions/41416414/benefits-of-using-document-db-after-connecting-with-azure-search

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!