SDO
October 29, 2023, 12:24pm
1
Bug report
Hello again This time time reporting a bug as a paid user
I noticed that the search function is performing worse/not at all after the 5.6.0 update. My assumption: You changed it to look for āentire wordsā instead of ācontainsā. In addition search does not update with every key typed. I am adding a few pictures so that it becomes obvious
Environment
Platform: macOs m1 and m2 pro
Platform version: Sonoma 14.0
App Version: 5.6.0
How to reproduce
I have a note with the Title āPerformanceā and am trying to search for it
Typing in āperforā and even pressing āenterā or āsearch allā does nothing
I have now added another letter āperformā and now it is found
Searching for āformanceā yields nothing, hence my assumption that it is looking for whole words instead of ācontainsā
If you want me to check some other things let me know Overall I am very happy with the new update
1 Like
craftzdog
(Takuya Matsuyama)
October 30, 2023, 12:23am
2
Hi SDO,
Thanks for the report.
I havenāt changed the full-text search in v5.6.0.
and I guess it would be a duplicate question of:
Bug report
Sometimes documents do not appear when I enter a part of the searched word only.
ā
Environment
Platform: macOS
Platform version: Ventura 13.2 M1 Pro
App Version: 5.5.3
How to reproduce
Have a document named `Jupyter``
Then search for these words:
jup ā finds the document
jupy ā document NOT found
jupyt ā document found again
Compare to the attached images:
[BildschirmĀfoto 2023-03-29 um 16.41.33]
[BildschirmĀfoto 2023-03-29 um 16.41.37]
[BildschirmĀfoto 2023-03-29ā¦
Hi avis,
Thank you for the question.
That is basically intended behaviors for performance reasons.
Regarding English words, it is based on Porter stemming algorithm which is a kind of English morphological word stemming algorithms used for the term normalisation process of full-text search index.
You can search ādoingā with ādoā or ādoingā but canāt with ādoiā.
Just like you donāt get results containing ādoingā when searched with ādoiā on Google.
SQLiteās FTS doesnāt work like grep for perā¦
Could you check them?
SDO
October 30, 2023, 6:15am
3
Thank you, that explains it. However I find it weird that I did not notice this behavior at all with v5.5 but immediately with v5.6
craftzdog
(Takuya Matsuyama)
November 1, 2023, 3:54am
4
thatās weird but I have changed nothing regarding the FTS.
That āformanceā yields nothing is an expected behavior of the Porter stemming algorithm, just like you canāt find pages including āperformanceā by searching with the keyword āformanceā on Google.
craftzdog
(Takuya Matsuyama)
November 16, 2023, 12:25pm
5
Found that the prefix modifier hasnāt been added as of v5.6.0!
@SDO Sorry for my misunderstanding.
Check out the current discussion:
Thomasā reply via email (Please post a comment instead of replying to the notification email):
Thank you Takuya!
I tried both, but both did not change anything.
I deleted and reinstalled the app yesterday (but the DB was still there)
I attach 3 (new) screenshots to illustrate what I described.
All notes ācer"
[Bildschirmfoto von Inkdrop (16-11-23, 09-39-19)]
All notes ācert"
[Bildschirmfoto von Inkdrop (16-11-23, 09-39-34)]
Just Subnotebook ācertā - these didnāt show up in all notā¦
Thanks again for letting me know!
1 Like
SDO
November 16, 2023, 12:50pm
6
Great to hear! This has been bugging me quite a bit
1 Like
craftzdog
(Takuya Matsuyama)
November 22, 2023, 1:41am
7
v5.6.2 has been released Thanks again for reporting as always.
Hey Inkdroppers,
Thanks for reporting bugs and other issues!
This release is much more stable now.
Download here
Sign up here
Bugfixes
fix(note-list): The popup menu for opening notebook not working (Thanks Shogo-san )
fix(keymap): Canceling multi-stroke keymaps not working (Thanks Markus and Kentaro )
fix(editor): āMove to notebookā not working properly, where it randomly moves a previously opened note (Thanks Shimizu-san )
fix(editor): Do not transform HTML into Markdown when pasting if it ā¦
SDO
November 22, 2023, 4:29pm
8
Thank you again. Muuuuch better now Just one question whether this behaviour is normal:
writing āperformā finds the note now when it didnāt previously. Everything from p ā perform finds the note.
However, performa|performan|performanc do not find the note. Is this expected behavior from the algorithm?
āperformanceā obviously works again
craftzdog
(Takuya Matsuyama)
November 23, 2023, 5:29am
9
Yeah, I can see the similar behavior, too. And it looks like the expected behavior of the Porter stemming algorithm.
The only way to solve this is to use bi-gram/tri-gram but SQLite itself doesnāt support it natively.
SDO
November 23, 2023, 7:22am
10
understood. The way it works now is more than sufficient for my needs
1 Like