我正在尝试弹性搜索并创建了部署(v7.9.3)
使用Elasticsearch.Net 7.9.0
尝试索引文档,但产生以下错误
DebugInformation
通过对POST的不成功()低级调用构建的无效NEST响应:/ holiday / _doc#此API调用的审核记录:-[1] BadRequest:节点:https://7b0be16599544f369f083a7b2c1d19cc.uksouth.azure.elastic-cloud.com:9243/接受:00: 00:21.1060083#OriginalException:Elasticsearch.Net.ElasticsearchClientException:无法连接到远程服务器。呼叫:状态代码未知:POST / holiday / _doc ---> System.Net.WebException:无法连接到远程服务器
代码
<xsl:variable name="item">
<xsl:apply-templates/>
</xsl:varialbe>
<xsl:if test="$item=''">
<!-- do something here -->
</xsl:if>