Page 1 of 1

Search not Finding Characters that are in a Note

Posted: Thu Nov 27, 2014 7:50 am
by usbpoweredfridge
Continuing my problematic attempts to capture articles from DuffelBlog (viewtopic.php?f=6&t=1928), I am now having a problem with the CN search feature. As noted in that other thread, when I capture articles from this website, some characters are replaced by > signs. To try and find these (so I can correct them), I type > into the search field. However, no matches are found (search is set to 'text only'). The trouble is - I know there are matches, because I have one sitting right in front of me. CN just refuses to match the > character though.

I thought it may have been some weird unicode thing (like " or ' have a slightly different unicode equivalent which requires you to use the correct one), but even copying the > from the note and pasting it into the search field does not work.

Chris

Re: Search not Finding Characters that are in a Note

Posted: Thu Nov 27, 2014 7:56 am
by Thomas Lohrum
Chris,

i can not tell what is going on with your pasted data. For me it is working. I can search for ">" inside notes, which i have created/edited myself.

Thomas

Re: Search not Finding Characters that are in a Note

Posted: Fri Nov 28, 2014 8:08 am
by usbpoweredfridge
Thanks Thomas. I have found out something else - if I create a new note (Insert), and type in > and then try the search, it works fine. The problem only occurs when I clip from DuffelBlog and then try and find the > character. So for example, go here:
http://www.duffelblog.com/2014/11/bill- ... apr-video/

Highlight the heading, right down to the end sentence. Clip it. The clipped note should have a > in it somewhere where a URL was meant to go. If so, click Ok to accept the note, and then try and find the > character via the search - you won't be able to do it.

Chris

Re: Search not Finding Characters that are in a Note

Posted: Tue Mar 10, 2015 10:00 am
by usbpoweredfridge
Just found another instance of this. I have a DB with a number of notes in it. I clicked in the search field (set to 'text only') and typed in the word 'comment'. CN found a number of matches. Later on, I was randomly scrolling through the DB, and stumbled across a note that had the word comment in it, but which is not found by the search. Even copying and pasting the 'comment' from the note into the search field does not find the note.

Chris

Re: Search not Finding Characters that are in a Note

Posted: Tue Mar 10, 2015 5:32 pm
by CintaNotes Developer
Hi Chris,
thanks for reporting!
It would really help to have the notebook, or at least part of it.

Maybe you could make a copy, delete all notes but the problematic ones from it, and send to support@cintanotes.com?
Thanks in advance!

Re: Search not Finding Characters that are in a Note

Posted: Wed Mar 11, 2015 7:34 am
by usbpoweredfridge
Sample DB attached to this post. I tested that it fails with the search before I added it - I set the search field to 'text only' and typed in 'comm' and it didn't find the 'comment' in the note.

Chris

Re: Search not Finding Characters that are in a Note

Posted: Wed Mar 11, 2015 11:32 am
by usbpoweredfridge
There is a CN setting that fixes this, "Search Inside Words". Well, the problem with the word 'comment' anyway, I no longer have any of the notes with the '>' in them that I reported as the original problem (so I can't check if that option fixes those as well, it may very well do).

Chris

Re: Search not Finding Characters that are in a Note

Posted: Wed Mar 11, 2015 3:27 pm
by CintaNotes Developer
Hi Chris,
Indeed, with "Search inside words", CintaNotes searches only for matches on word boundaries.
A change in case is not considered to be a word boundary, that's why "comment" in "wentComment" is not found.
To fix this, simply separate "Comment" from "went" with a space or a new line.

I think with "<" symbols it must have been a similar issue.

Re: Search not Finding Characters that are in a Note

Posted: Thu Mar 12, 2015 7:43 am
by usbpoweredfridge
To fix this, simply separate "Comment" from "went" with a space or a new line.


Ironically, that is what I was attempting to do, but CN did not show me this note in the find, so I did not know about it:
viewtopic.php?f=6&t=1982

I have fixed it now though.

Chris

Re: Search not Finding Characters that are in a Note

Posted: Sun Mar 15, 2015 4:43 pm
by CintaNotes Developer
Good thing there's also "search inside words" ;)

Re: Search not Finding Characters that are in a Note

Posted: Mon Mar 16, 2015 2:13 pm
by usbpoweredfridge
Yes, my mistake was thinking that this was the default for CN (ie it would find the word anywhere in the note, not just if the line started with the word).

Chris

Re: Search not Finding Characters that are in a Note

Posted: Tue Mar 17, 2015 11:34 am
by CintaNotes Developer
It's not the default because it incurs extra performance penalty (can't use the full text index).