我有一个轻量级的应用程序托管在中EC2环境,我需要更长的持续时间,而启动我选择Ondemand而不是保留.我现在如何将正在运行的OnDemand EC2实例转换为预留实例?
根据以下文章,
和
Azure 搜索将自动同步/更新 SQL 表中修改后的行,并在 Azure 搜索索引中更新相同的行。但是当我更新源表时,它似乎根本不影响我的 Azure 搜索索引。
任何人都可以澄清使用 Azure 搜索自动索引/同步 Azure SQL DB 的真正含义是什么?
注意:严格按照文章中给出的说明进行操作。
数据源
POST https://servicename.search.windows.net/datasources?api-version=2015-02-28 api-key: <> Content-Type: application/json
{ "name": "myazuresqldatasource", "type": "azuresql", "credentials": { "connectionString": "Server=tcp:xxxxyyyy.database.windows.net.database.windows.net,1433;Database=dvdlist ;User ID=aaaabbbb;Password=aaaaabbbbb;Trusted_Connection=True;Encrypt=False;Connection Timeout=30;"}, "container" : { "name" : "dvdlist" }, "dataChangeDetectionPolicy" : { "@odata.type “:“#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy”,“highWaterMarkColumnName”:“id”},“dataDeletionDetectionPolicy”:{“@odata.type”:“#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy”,“softDeleteColumnName”:“已删除", "softDeleteMarkerValue": "true" } }
索引器
POST https://servicename.search.windows.net/indexers?api-version=2015-02-28 api-key: <> Content-Type: application/json
{“名称”:“myazuresqlindexer”,“dataSourceName”:“myazuresqldatasource”,“targetIndexName”:“sqlazureindex”}