Skip to content

Feat/full text search#486

Closed
mijinummi wants to merge 4 commits into
MettaChain:mainfrom
mijinummi:feat/full-text-search
Closed

Feat/full text search#486
mijinummi wants to merge 4 commits into
MettaChain:mainfrom
mijinummi:feat/full-text-search

Conversation

@mijinummi
Copy link
Copy Markdown
Contributor

Pull Request: Implement Full-Text Search

Overview

This PR implements issue #380 Implement Full-Text Search.
It adds PostgreSQL full-text search with relevance ranking, suggestions, and filters.


Changes Introduced

  • Added full-text indexes to Prisma schema.
  • Implemented SearchService with relevance-ranked queries.
  • Added /search/projects endpoint for text search.
  • Added /search/suggest endpoint for search suggestions.
  • Supported filters for category, date, and user.

Acceptance Criteria ✅

  • Text search implemented
  • Relevance ranking applied
  • Suggestions available
  • Filters supported
  • Tests added

How to Test

  1. Call /search/projects?q=insurance → ranked results.
  2. Call /search/suggest?q=ins → suggestions returned.
  3. Apply filters (e.g., category=finance) → filtered results.
  4. Verify ranking order matches relevance.

Contribution Notes

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 25, 2026

@mijinummi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@LaGodxy LaGodxy closed this Apr 25, 2026
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

2 participants