toolcacheAI Coding Prompts › Search Implementation Guide

Search Implementation Guide

Implement search functionality for [APPLICATION TYPE].

Search requirements: [FULL-TEXT / AUTOCOMPLETE / FACETED / FUZZY / GEOSPATIAL]
Data size: [NUMBER OF RECORDS]
Provide:
1. **Architecture Decision**: Database search vs Elasticsearch vs Algolia vs Meilisearch vs Typesense
2. **Index Design**: What fields to index, analyzers, tokenizers
3. **Search API**: Endpoint design with query, filters, pagination, sorting
4. **Autocomplete**: Type-ahead implementation with debouncing
5. **Relevance Tuning**: Boosting, synonyms, custom ranking
6. **Faceted Search**: Filter implementation with counts
7. **Highlighting**: Search term highlighting in results
8. **Performance**: Query optimization, caching, pagination strategy
9. **Frontend Component**: Search bar with results dropdown and full results page
10. **Analytics**: Track search queries, zero-results, click-through rate
🔒

Unlock this prompt

You have 5 free unlocks remaining

or
Get unlimited access from £2.99 →

How to use this prompt

Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.

Leave a Review

Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.

Get Unlimited Access →Browse All 2,400 Prompts