Skip to content

Elasticsearch 节点#

¥Elasticsearch node

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

¥Use the Elasticsearch node to automate work in Elasticsearch, and integrate Elasticsearch with other applications. n8n has built-in support for a wide range of Elasticsearch features, including creating, updating, deleting, and getting documents and indexes.

本页列出了 Elasticsearch 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the Elasticsearch node supports and links to more resources.

Credentials

请参阅 Elasticsearch 凭证 以了解有关设置身份验证的指导。

¥Refer to Elasticsearch credentials for guidance on setting up authentication.

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

操作#

¥Operations

  • 文档

¥Document

  • 创建文档

    ¥Create a document

  • 删除文档

    ¥Delete a document

  • 获取文档

    ¥Get a document

  • 获取所有文档

    ¥Get all documents

  • 更新文档信息

    ¥Update a document

  • 索引

¥Index

  • 创建

    ¥Create

  • 删除

    ¥Delete

  • 获取

    ¥Get

  • 获取全部

    ¥Get All

模板和示例#

¥Templates and examples

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.