Skip to content

[NSOC'26][GSSOC'26]Feat: Add Postgres Full-Text Search for issues#208

Open
diksha78dev wants to merge 1 commit into
Coder-s-OG-s:mainfrom
diksha78dev:fix/issue-86
Open

[NSOC'26][GSSOC'26]Feat: Add Postgres Full-Text Search for issues#208
diksha78dev wants to merge 1 commit into
Coder-s-OG-s:mainfrom
diksha78dev:fix/issue-86

Conversation

@diksha78dev
Copy link
Copy Markdown
Contributor

Resolves #86.

Changes:

  • Adds a Supabase migration to create a generated fts column (tsvector) and a GIN index on issues.
  • Introduces search_issues RPC to enable searching with ts_rank sorting (since PostgREST does not support ordering by functions natively).
  • Updates getIssuesPage to query the RPC when a search string is present, applying relevance ranking naturally without breaking existing filters.

Testing:

  • Verified no lint, type, or test errors.
  • Fallback gracefully drops special characters automatically via plainto_tsquery.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 23, 2026

@diksha78dev is attempting to deploy a commit to the codersogs-3057's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement full-text search across issue titles using Postgres FTS

1 participant