meilisearch / meilisearch/mini-dashboard

Highlight items within fields represented as arrays

Open
#541 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
286
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Description
It would be helpful if the mini-dashboard highlights results within fields represented as arrays. For example, when I search for 'Henry,' I expect the web UI to highlight the word if it appears in any of the array items.

Expected behavior
The mini-dashboard highlights "Henry" represented as an item of the array.

Current behavior
The mini-dashboard does not highlight "Henry" while Meili backend seems to return the data to perform that:
image

Screenshots or Logs
image

Environment (please complete the following information):

  • Meilisearch version: v1.10.1
  • Browser: Chrome 129.0.6668.71 (Official Build) (64-bit)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the mini-dashboard using a search term such as “Henry” that appears inside an array item, then inspect the web UI result rendering and the Meilisearch response shown in the issue. Done means the matching text is highlighted in array-valued fields without regressing highlighting for other fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.