Home › Prompts › Community › Creating a Comprehensive Elasticsearch Search Project with FastAPI

Creating a Comprehensive Elasticsearch Search Project with FastAPI

Any chat AIData analysisCommunity (CC0)

Works with: ChatGPT · Claude · Gemini · Grok · Microsoft Copilot · Perplexity · Meta AI · DeepSeek · Mistral Le Chat

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
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.

How to use

More: all data analysis prompts · all community prompts · prompt library

Related prompts

Code open-ended survey responses

Turn hundreds of free-text survey answers into themes with counts, quotes and recommendations.

Any chat AIData analysis

Analyze a CSV and explain the findings

Upload a spreadsheet and get cleaning notes, key metrics, charts and plain-English findings with caveats.

ChatGPTData analysis

A/B test readout with statistical rigor

Interpret experiment results correctly: significance, effect size, power and practical recommendation.

ClaudeData analysis

Spreadsheet formula builder

Get the exact Google Sheets or Excel formula for a task, explained, with an example.

GeminiData analysis

KPI dashboard design

Define the right metrics, formulas and chart types for a business dashboard.

GrokData analysis

Excel formula and fix explainer

Get the right Excel formula for a task, with an explanation and a version for older Excel.

Microsoft CopilotData analysis

Get the best new AI prompts every week

One short email a week: the best new prompts and rules for ChatGPT, Claude, Gemini, Midjourney, Cursor and more, plus what changed in the tools. Free, unsubscribe anytime.

Finishes on our newsletter page at beehiiv (opens in a new tab). Or subscribe directly.