Skip to content

Enhancement: Support search highlights - #112

Merged
rafaeljusto merged 1 commit into
mainfrom
enhancement/search-highlights
Aug 11, 2026
Merged

Enhancement: Support search highlights#112
rafaeljusto merged 1 commit into
mainfrom
enhancement/search-highlights

Conversation

@rafaeljusto

Copy link
Copy Markdown
Contributor

Description

Add IncludeHighlights search filter and SearchItem.Highlights(), a typed accessor for the meta.highlights fragments where matches are wrapped in <em> tags.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Testing

  • Tests pass locally (go test -v ./...)
  • Added/updated tests for new functionality

Checklist

  • Code follows project style guidelines
  • Self-reviewed the code
  • Added necessary documentation
  • No new warnings or errors

Add `IncludeHighlights` search filter and `SearchItem.Highlights()`, a
typed accessor for the `meta.highlights` fragments where matches are
wrapped in `<em>` tags.
@rafaeljusto
rafaeljusto marked this pull request as ready for review August 11, 2026 15:22
@rafaeljusto
rafaeljusto requested a review from a team as a code owner August 11, 2026 15:22
@rafaeljusto
rafaeljusto merged commit 6e5b402 into main Aug 11, 2026
3 checks passed
@rafaeljusto
rafaeljusto deleted the enhancement/search-highlights branch August 11, 2026 15:23
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.

1 participant