Skip to content

feat(transactions): improve search relevance and server-side filtering - #1139

Merged
Devsol-01 merged 1 commit into
Devsol-01:mainfrom
chiemezie1:feature/backend-transaction-search-relevance
Jun 30, 2026
Merged

feat(transactions): improve search relevance and server-side filtering#1139
Devsol-01 merged 1 commit into
Devsol-01:mainfrom
chiemezie1:feature/backend-transaction-search-relevance

Conversation

@chiemezie1

Copy link
Copy Markdown
Contributor

Summary

This PR improves backend transaction search by introducing relevance-based ordering and server-side filtering for common search terms.

What changed

  • Added relevance scoring for free-text transaction search across:
    • transaction hash
    • memo / description fields
    • reference IDs
    • related metadata and identifiers
  • Kept the search predicates on the database side to avoid full-table scans for common cases.
  • Added safe defaults for search requests:
    • bounded execution time
    • capped result size
    • safe pagination behavior
  • Documented the new search semantics in the transaction API docs.

Validation

  • Added regression tests covering:
    • relevance ordering
    • capped search pagination
    • transaction search service behavior

Acceptance criteria

  • Server-side filtering is used for search predicates
  • Deterministic ordering is applied for ties
  • Relevance scoring is covered by tests
  • Search endpoint semantics are documented

Closes: #1118

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nestera Skipped Skipped Jun 30, 2026 1:28am

@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@chiemezie1 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

@Devsol-01
Devsol-01 merged commit d6c50c9 into Devsol-01:main Jun 30, 2026
3 of 5 checks passed
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.

[Backend] -- Improve Transaction Search with Relevance Scoring and Server-Side Filtering

3 participants