Files
nexus/wiki/concepts/Web-Search-Aggregation.md

34 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Web Search Aggregation"
type: concept
tags: []
---
## Definition
网页搜索聚合模式——通过搜索 API 主动获取特定主题的最新网页结果,补充无 RSS/无 API 的信息源,实现更全面的内容覆盖。
## Key Providers
| 提供方 | API | 特点 |
|--------|-----|------|
| Brave Search | Brave Search API | 注重隐私,搜索结果质量高 |
| Google Custom Search | Google Programmable Search | 覆盖最广 |
| DuckDuckGo | 非官方 API | 免费但不稳定 |
| SerpAPI | 聚合多平台 | 付费,支持 Google/Bing/Yandex |
## Environment Variables
- `BRAVE_API_KEY` — Brave Search API 密钥
## Use Cases
- [[multi-source-tech-news-digest]] — 通过 Brave Search API 执行 4 个主题的主动搜索,覆盖无 RSS 来源的科技新闻
- 补充特定领域的深度搜索需求
## Design Pattern
```
[定时触发] → [主题搜索查询列表] → [Brave Search API] → [结果解析] → [评分去重] → [简报投递]
```
## Related Concepts
- [[RSS-Aggregation]] — 两种互补的内容获取方式RSS 被动拉取 vs Search 主动搜索
- [[Quality-Scoring-Algorithm]] — 搜索结果的后续处理
- [[Content-Deduplication]] — 搜索结果与 RSS 结果的交叉去重