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 report) search notes failed #4665

Closed
zhaohui0923 opened this issue Feb 28, 2024 · 4 comments
Closed

(Bug report) search notes failed #4665

zhaohui0923 opened this issue Feb 28, 2024 · 4 comments

Comments

@zhaohui0923
Copy link

Trilium Version

0.62.5

What operating system are you using?

Windows

What is your setup?

Local + server sync

Operating System Version

win10

Description

i have a note whose title is Thinking Asynchronously in C++: Boost.Asio vs Asio
when i use the search notes functionality and search for the string Thinking Asynchronously in C++
it was not included in the search result
and then i tried to enclosing the strings into quotes "Thinking Asynchronously in C++" and search again
i got the same result

Error logs

No response

@Nriver
Copy link
Contributor

Nriver commented Feb 28, 2024

You should be able to perform a search using the query:

note.title *=* "Thinking Asynchronously in C++"

However, attempting to search for just C++ will result in an error, likely leading to an empty result.
ksnip_20240228-100416

@zhaohui0923
Copy link
Author

@Nriver Thanks a lot, note.title = "Thinking Asynchronously in C++" just worked :)
Hope the bug could be fixed, just search for "Thinking Asynchronously in C++", and get the results will be better.

@zerebos
Copy link
Collaborator

zerebos commented Feb 28, 2024

I believe you can just escape the + and do something like

note.title *=* Thinking Asynchronously in C\+\+

and have it work with no error

@zadam zadam closed this as completed in a115b14 Mar 2, 2024
@zadam
Copy link
Owner

zadam commented Mar 2, 2024

Hello, thank you for reporting this problem, will be fixed in the next 0.63 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants