Feat : Add Elasticsearch Document Reader | 添加 Elasticsearch 文档读取器 #390
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Elasticsearch Document Reader | 添加 Elasticsearch 文档读取器
This PR adds a new document reader implementation for Elasticsearch, which allows Spring AI to retrieve and process documents from Elasticsearch indices.
本 PR 添加了一个新的 Elasticsearch 文档读取器实现,允许 Spring AI 从 Elasticsearch 索引中检索和处理文档。
Features | 功能特性
Implementation Details | 实现细节
Core Components | 核心组件
ElasticsearchConfig
ElasticsearchDocumentReader
DocumentReader
interface | 实现DocumentReader
接口get()
: Get all documents | 获取所有文档getById(String id)
: Get document by ID | 通过 ID 获取文档readWithQuery(String query)
: Search documents by query | 通过查询搜索文档Key Features | 主要特性
Testing | 测试
Usage Example | 使用示例
Dependencies | 依赖
Documentation | 文档
Future Improvements | 未来改进
Related Issues | 相关问题
Breaking Changes | 破坏性变更