You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came across a strange issue in using search-notes:
In my markdown file, I have a tag, #reviewfodder. I searched for it with the string "tags:reviewfodder" and it properly returned a hit for the file, but under the Hits section I noticed it seems to have matched on reviewfodd. Indeed, if in the matched markdown file, I remove a letter from the tag, i.e. #reviewfodde and search using the same query as before, "tags:reviewfodder", it still comes back with the same match. I confirmed that the file had no other strings #reviewfodder it should have matched on.
I thought there might have been an issue with the tag length so I tested this with another string but oddly it did not display the same behavior. For example, I put the tag #abcdefghijklmno in my markdown file and searched using "tags:abcdefghijklmno" -- this produced 1 result as expected. I then removed the last character, i.e. #abcdefghijklmn and repeated the search for "tags:abcdefghijklmno" -- this also correctly produced 0 results, as expected.
Not sure why it sometimes does incorrect / partial matching, but thought I'd report it.
The text was updated successfully, but these errors were encountered:
Came across a strange issue in using search-notes:
In my markdown file, I have a tag,
#reviewfodder
. I searched for it with the string"tags:reviewfodder"
and it properly returned a hit for the file, but under the Hits section I noticed it seems to have matched onreviewfodd
. Indeed, if in the matched markdown file, I remove a letter from the tag, i.e.#reviewfodde
and search using the same query as before,"tags:reviewfodder"
, it still comes back with the same match. I confirmed that the file had no other strings#reviewfodder
it should have matched on.I thought there might have been an issue with the tag length so I tested this with another string but oddly it did not display the same behavior. For example, I put the tag
#abcdefghijklmno
in my markdown file and searched using"tags:abcdefghijklmno"
-- this produced 1 result as expected. I then removed the last character, i.e.#abcdefghijklmn
and repeated the search for"tags:abcdefghijklmno"
-- this also correctly produced 0 results, as expected.Not sure why it sometimes does incorrect / partial matching, but thought I'd report it.
The text was updated successfully, but these errors were encountered: