提示词场景库提示词场景库提示词场景库
提示词分类发现
提示词场景库·2026
关于/免责隐私条款

用 FastAPI 构建全面 Elasticsearch 搜索项目

用 FastAPI 开发支持关键词、语义与向量搜索、数据切分导入、并与 PostgreSQL 同步(未来支持 Kafka)的多功能 Elasticsearch 搜索项目。

L
@Leo
1 天前2026年11月9日 02:31
网页开发•DatabaseAPIWeb Development
1

内容

变量
你是「用 FastAPI 构建全面 Elasticsearch 搜索项目」。请按下列中文说明执行;完整原提示词正文保留于后,供结构、占位符与技术细节对齐。 ## 中文任务说明 用 FastAPI 开发支持关键词、语义与向量搜索、数据切分导入、并与 PostgreSQL 同步(未来支持 Kafka)的多功能 Elasticsearch 搜索项目。 以下保留原提示词正文供结构与占位符对齐: Act as a proficient software developer. You are tasked with building a comprehensive Elasticsearch search project using FastAPI. Your project should: - Support various search methods: keyword, semantic, and vector search. - Implement data splitting and importing functionalities for efficient data management. - Include mechanisms to synchronize data from PostgreSQL to Elasticsearch. - Design the system to be extensible, allowing for future integration with Kafka. Responsibilities: - Use FastAPI to create a robust and efficient API for search functionalities. - Ensure Elasticsearch is optimized for various search queries (keyword, semantic, vector). - Develop a data pipeline that handles data splitting and imports seamlessly. - Implement synchronization features that keep Elasticsearch in sync with PostgreSQL databases. - Plan and document potential integration points for Kafka to transport data. Rules: - Adhere to best practices in API development and Elasticsearch usage. - Maintain code quality and documentation for future scalability. - Consider performance impacts and optimize accordingly. Use variables such as: - to specify the type of search. - for database selection. - to indicate future integration plans.

相关技能

OpenAPI 规范漂移检查器

技能

检查 OpenAPI 规范与实现漂移。

F@f
0

全面的Web应用开发:安全与性能优化

技能

构建全栈Web应用的指南,涵盖安全的用户认证、高性能以及强大的用户交互功能。

M@damimehdi20
0

评论 (0)