Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Incorrect excerpt position (in Chinese?) #397

Open
jiajiala opened this issue Sep 17, 2024 · 4 comments
Open

[BUG] Incorrect excerpt position (in Chinese?) #397

jiajiala opened this issue Sep 17, 2024 · 4 comments

Comments

@jiajiala
Copy link

image
As shown in figure 12, Ronald Reagan didn't have a search, but it still showedThese are useless information that makes the search results confusingIn this case, there is a search for text, but it is not shown in the search resultsThe results of the search are irrelevant

@jiajiala jiajiala changed the title [BUG] 显示无用的信息 [BUG] The content displayed in the search results is confused Sep 17, 2024
@scambier
Copy link
Owner

scambier commented Sep 18, 2024

Result 1 has the search term in the filename, result 2 in the filename and path. No idea about result 3, but I guess the result still exists in the note content (and the excerpt is buggy ?)

@jiajiala
Copy link
Author

image
This excerpt does not make sense to me, this excerpt does not contain the search results, a large number of such meaningless text appears, so that the search becomes bloated
If the search term appears only in the title, only the title is displayed
The content of the excerpt given should be the content containing the searched term

@scambier
Copy link
Owner

I got that. Could you please confirm the searched term is present in note #3? If that's the case, then it's "just" an issue with the excerpt location, possibly linked to Chinese tokens.

As an aside, you can toggle excerpts with ctrl+g for a more condensed view.

@jiajiala
Copy link
Author

#3 The search term is present in note

@scambier scambier changed the title [BUG] The content displayed in the search results is confused [BUG] Incorrect excerpt position (in Chinese?) Sep 18, 2024
Repository owner deleted a comment Oct 24, 2024
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

No branches or pull requests

4 participants
@scambier @jiajiala and others