From cf82f8106f651086d60473c49f54eede4a9df3f6 Mon Sep 17 00:00:00 2001 From: promptadmin Date: Sat, 6 Jun 2026 20:29:12 +0000 Subject: [PATCH] Automated ingestion of prompt: Creating a Comprehensive Elasticsearch Search Project with FastAPI --- ...ehensive_elasticsearch_search_proj_1174.md | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 prompts/coding/creating_a_comprehensive_elasticsearch_search_proj_1174.md diff --git a/prompts/coding/creating_a_comprehensive_elasticsearch_search_proj_1174.md b/prompts/coding/creating_a_comprehensive_elasticsearch_search_proj_1174.md new file mode 100644 index 0000000..74a93e6 --- /dev/null +++ b/prompts/coding/creating_a_comprehensive_elasticsearch_search_proj_1174.md @@ -0,0 +1,29 @@ +--- +title: "Creating a Comprehensive Elasticsearch Search Project with FastAPI" +contributor: "@ZhenjieZhao66" +tags: #coding, #zhenjiezhao66 +--- + +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: +- ${searchMethod:keyword} to specify the type of search. +- ${databaseType:PostgreSQL} for database selection. +- ${integration:kafka} to indicate future integration plans.