search-implementer

Implement search with PostgreSQL FTS and Typesense or Elasticsearch.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Prathmesh2000/cursor_agent-orchestrator --skill search-implementer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-implementer
Source: https://github.com/Prathmesh2000/cursor_agent-orchestrator/tree/main/agent-system/skills/search-implementer
Command: npx skills add https://github.com/Prathmesh2000/cursor_agent-orchestrator --skill search-implementer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement production search by combining PostgreSQL full-text search for simple cases with Typesense/Elasticsearch for advanced needs, delivering relevance ranking, highlighting, and autocomplete.

Core Features & Use Cases

  • PostgreSQL Full-Text Search: Build lightweight search within a single database using tsvector columns and GIN indexes for performance.
  • Typesense / Elasticsearch: Provide typo-tolerant, multi-language, and facet-enabled search for larger datasets and richer UX.
  • Use Case: Add a search bar to an article platform to return ranked results with excerpts and highlighted terms, plus filters for tags or status.

Quick Start

Install and configure PostgreSQL FTS for simple datasets or Typesense/Elasticsearch for scale, then wire your UI input to the search service.

Frequently Asked Questions about search-implementer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement full-text search in PostgreSQL with ranking and highlighting?

PostgreSQL full-text search uses tsvector columns and GIN indexes to deliver ranked results with highlighted terms. It provides a lightweight search mechanism within your existing database, suitable for simpler datasets without requiring external infrastructure.

When should I use Typesense or Elasticsearch instead of PostgreSQL FTS?

Typesense or Elasticsearch is needed for advanced search requiring typo tolerance, multi-language support, facets, and scalable indexing across larger datasets. PostgreSQL FTS works for simpler cases, while external engines deliver richer UX for article platforms.

What's the best way to add typo-tolerant autocomplete search to an article platform?

Typo-tolerant autocomplete is best implemented using Typesense or Elasticsearch, which support scalable indexing and ranking across articles. These external search engines wire directly to your UI input, returning ranked results with filters for tags or status.

Can I use PostgreSQL full-text search for multi-language content and faceted filtering?

PostgreSQL FTS handles basic keyword search within a single database but lacks native typo tolerance and advanced facets. For multi-language support and faceted filtering at scale, integrating Typesense or Elasticsearch is the recommended approach.

How do I configure GIN indexes for PostgreSQL full-text search performance?

GIN indexes optimize PostgreSQL full-text search by accelerating tsvector column queries. You create them on your document columns to ensure fast keyword matching and relevance ranking, forming the lightweight search foundation before adding external engines.

Does Typesense support highlighting and facets for search results?

Typesense supports highlighting search terms and applying facets for filtering by tags or status. It delivers typo-tolerant, multi-language search capabilities designed for larger datasets, providing excerpts and ranked results for article platforms.