SearXNG 工具节点(SearXNG Tool node)#
SearXNG 工具节点允许你使用 SearXNG 将搜索功能集成到工作流中。SearXNG 会从多个搜索引擎汇总结果,同时不会跟踪你的信息。
🌐 The SearXNG Tool node allows you to integrate search capabilities into your workflows using SearXNG. SearXNG aggregates results from multiple search engines without tracking you.
本页提供 SearchXNG 工具节点的选项以及更多资源的链接。
🌐 On this page, you'll find the node options for the SearXNG Tool node, and links to more resources.
凭证
你可以在这里找到该节点的认证信息。
Parameter resolution in sub-nodes
Sub-nodes behave differently to other nodes when processing multiple items using an expression.
Most nodes, including root nodes, take any number of items as input, process these items, and output the results. You can use expressions to refer to input items, and the node resolves the expression for each item in turn. For example, given an input of five name values, the expression {{ $json.name }} resolves to each name in turn.
In sub-nodes, the expression always resolves to the first item. For example, given an input of five name values, the expression {{ $json.name }} always resolves to the first name.
节点选项(Node Options)#
- 结果数量:要检索的结果数量。默认值是10。
- 页码:要检索的搜索结果页码。默认值为1。
- 语言:一个由两位字母组成的语言代码,用于按语言筛选搜索结果。例如:
en表示英文,fr表示法文。默认值为en。 - 安全搜索:启用或禁用搜索结果中过滤不良内容的功能。可选项有:无、适中或严格。默认值为无。
运行 SearXNG 实例(Running a SearXNG instance)#
此节点需要在与你的 n8n 实例相同的网络上运行 SearXNG 服务。请确保你的 n8n 实例能够访问 SearXNG 服务的网络。
🌐 This node requires running the SearXNG service on the same network as your n8n instance. Ensure your n8n instance has network access to the SearXNG service.
此节点需要以 JSON 格式返回结果,但默认的 SearXNG 配置中未启用此功能。要启用 JSON 输出,请在 SearXNG 实例的 settings.yml 文件的 search.formats 部分添加 json:
🌐 This node requires results in JSON format, which isn't enabled in the default SearXNG configuration. To enable JSON output, add json to the search.formats section of your SearXNG instance's settings.yml file:
1 2 3 4 5 | |
如果没有 formats 部分,请添加它。settings.yml 文件的具体位置取决于你如何安装 SearXNG。你可以访问 SearXNG 配置文档 了解更多信息。
🌐 If the formats section isn't there, add it. The exact location of the settings.yml file depends on how you installed SearXNG. You can find more by visiting the SearXNG configuration documentation.
搜索结果的质量和可用性取决于你使用的 SearXNG 实例的配置和运行状况。
🌐 The quality and availability of search results depend on the configuration and health of the SearXNG instance you use.
模板和示例(Templates and examples)#
相关资源(Related resources)#
有关该服务的更多信息,请参阅SearXNG 的文档。你也可以查看LangChain 关于其 SearXNG 集成的文档。
🌐 Refer to SearXNG's documentation for more information about the service. You can also view LangChain's documentation on their SearXNG integration.
View n8n's Advanced AI documentation.