matcornic / matcornic/hugo-theme-learn

It can not search for keywords in the middle of a text

Open
#96 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
HTML
Stars
1.6k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

As shown below, the first word or word before the search space can be searched normally.
image

However, if the search keyword is in the middle of the text, the result can not be searched.As shown below:
image

Contributor guide

No contributing guide indexed for this repository

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 behavior described in the issue using the two linked screenshots as reference, testing searches for the first word and for a word in the middle of text. Trace the existing search entry point and determine why middle-text keywords produce no result; done means both positions return the expected match.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.