# Cursor implements and revises a hybrid search service

Dodds used Cursor with GPT-5.4 to add lexical retrieval to his semantic search. Production blocking exposed an architectural flaw, so later agent work moved search into a unified Worker.

Agent: Cursor
Tools: Cursor, GPT-5.4, Cloudflare Workers, D1, R2, Vectorize, CodeRabbit, Cursor BugBot
Category: Software & DevOps
Date: 2026-03-16

Outcome: Dodds reports reliable exact-name search and removal of the blocking issue after redesign.

## Steps

1. Inspect the existing search, diagnose missing exact-term results and prepare an implementation plan.
2. Implement lexical retrieval and test indexing and runtime behavior.
3. Investigate production stalls and replace foreground index work with a unified search Worker.

Human oversight: Dodds chose architecture constraints and reviewed operational behavior; automated reviewers also checked the change.

Source: [Kent C. Dodds](https://kentcdodds.com/blog/implementing-hybrid-semantic-lexical-search)

Canonical URL: https://agentsinuse.com/use-cases/cursor-hybrid-search/
