bcgov / bcgov/entity

Minor - highlighting doesn't work when the match is stemmed

Open
#13,240 0 comments 0 reactions 1 assignee Claimed by @kialj876 View on GitHub
enhancement Search
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

If you search for Smiths' and get a hit on Smith, no highlighting will take place.

Ideally, all of the common letters between the query and the hit would be highlighted.

Examples:
Searching for AB highlights A.B.
Searching for AB highlights A-B
Searching for A B highlights A-B
stemmed queries highlight their non-stemmed matches
loading and loaded should result in highlighting of load in results
others include / . - ' , ; : and round brackets and many more...

![image.png](https://images.zenhubusercontent.com/5a7391bd4b5806bc2bc54a79/d7285fc7-5941-470a-bfab-8d234b76f641)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.