View Single Post
Old 09-12-2023, 07:19 AM   #6
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
Okay, I get it.
Thanks.

So I imagine that when we do a search for "Plastic demons, Jose Berube" in the notes, it will return results even if the source text is "<strong>Plastic demons</strong>, Jose Berube" right? If true, Great, this will be more handy to do a search.
Spoiler:
Which makes me think the same thing could be done for the "comments" field, which only matches raw html, so you need to include '</strong>' on the query (that would be really handy, but at your discretion).


In the same logic as you presented: Can I say that the table 'annotations' and 'annotations_fts_*' inside the main DB was a "mistake"? I mean, if you did it now, you'd be storing them in a .calannotations folder rather than the current implementation? (probably too late to move them)


Oh, and idea:
Since there doesn't yet seem to be an implementation for searching notes from the GUI, I'll make the following proposal: In the search bar, use the prefix ":note:" to search inside the notes.
So :notes:authors:"search query" will search in the Authors notes, and :notes:"search query" will do in all notes.
(Colon at the start is to specified a special sub search type)
un_pogaz is offline   Reply With Quote