Skip to content

Elasticsearch 节点#

使用 Elasticsearch 节点在 Elasticsearch 中自动化工作,并将 Elasticsearch 与其他应用程序集成。n8n 内置支持广泛的 Elasticsearch 功能,包括创建、更新、删除和获取文档和索引。

在此页面上,您将找到 Elasticsearch 节点支持的操作列表以及更多资源的链接。

凭据

有关设置身份验证的指导,请参阅 Elasticsearch 凭据

此节点可用作 AI 工具

此节点可用于增强 AI 代理的功能。以这种方式使用时,许多参数可以自动设置,或使用 AI 指导的信息设置 - 在 AI 工具参数文档中了解更多信息。

操作#

  • Document 文档
    • Create a document 创建文档
    • Delete a document 删除文档
    • Get a document 获取文档
    • Get all documents 获取所有文档
    • Update a document 更新文档
  • Index 索引
    • Create 创建
    • Delete 删除
    • Get 获取
    • Get All 获取所有

模板和示例#

Build Your Own Image Search Using AI Object Detection, CDN and ElasticSearch

by Jimleuk

View template details
Create an automated workitem(incident/bug/userstory) in azure devops

by Aditya Gaur

View template details
Dynamic Search Interface with Elasticsearch and Automated Report Generation

by DataMinex

View template details
Browse Elasticsearch integration templates, or search all templates

如果不支持您的操作该怎么办#

如果此节点不支持您想要执行的操作,您可以使用 HTTP 请求节点来调用服务的 API。

您可以在 HTTP 请求节点中使用为此服务创建的凭据:

  1. 在 HTTP 请求节点中,选择身份验证 > 预定义凭据类型
  2. 选择您要连接的服务。
  3. 选择您的凭据。

有关更多信息,请参阅自定义 API 操作