search-engine-setup

Solid

Set up and optimize search engines for applications. Use when someone asks to "add search to my app", "set up Elasticsearch", "configure Algolia", "fix search relevance", "add autocomplete", "fuzzy search", or "faceted filtering". Covers index design, data sync, search API, autocomplete, relevance tuning, and query analysis.

Data & Documents 61 stars 6 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
60
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Search Engine Setup ## Overview This skill helps AI agents implement production-quality search in applications. It covers index design with custom analyzers, database-to-index sync pipelines, search APIs with faceting and highlights, autocomplete, and relevance tuning based on real query data. ## Instructions ### Index Design (Elasticsearch) 1. Map source database columns to Elasticsearch field types: - Text columns users search → `text` with custom analyzer - Enum/category columns for filtering → `keyword` - Numeric columns for range filters → `integer`, `float` - Boolean flags → `boolean` - Dates → `date` - Fields for autocomplete → `completion` 2. Custom analyzer template for product/content search: ```json { "analyzer": { "content_analyzer": { "tokenizer": "standard", "filter": ["lowercase", "synonym_filter", "edge_ngram_filter"] } }, "filter": { "synonym_filter": { "type": "synonym", "synonyms_path": "synonyms.txt" }, "edge_ngram_filter": { "type": "edge_ngram", "min_gram": 3, "max_gram": 15 } } } ``` 3. Boost fields by search importance: title/name (3-5x), tags (2x), description (1x). 4. Always add a `suggest` field of type `completion` for typeahead. ### Index Design (Algolia) 1. Set `searchableAttributes` in priority order: `["name", "category", "description"]`. 2. Set `attributesForFaceting`: prefix filterable attributes with `filterOnly()` for non-displayed fa...

Details

Author
TerminalSkills
Repository
TerminalSkills/skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Shell
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Listed

search-engine-setup

Set up and optimize search engines for applications. Use when someone asks to "add search to my app", "set up Elasticsearch", "configure Algolia", "fix search relevance", "add autocomplete", "fuzzy search", or "faceted filtering". Covers index design, data sync, search API, autocomplete, relevance tuning, and query analysis.

0 Updated 1 months ago
eliferjunior
AI & Automation Featured

algolia-core-workflow-a

Implement Algolia search with filters, facets, highlighting, and pagination. The primary money-path workflow: search records, apply filters, display results. Trigger: "algolia search", "search with algolia", "algolia filters", "algolia facets", "algolia search implementation".

2,266 Updated today
jeremylongshore
AI & Automation Listed

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia, instantsearch, search api, search functionality.

5 Updated yesterday
rootcastleco
AI & Automation Listed

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia, instantsearch, search api, search functionality.

36 Updated today
cleodin
AI & Automation Listed

algolia-search

Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia, instantsearch, search api, search functionality.

335 Updated today
aiskillstore