standardnotes / forum

Support from other community members. For 1-on-1 help, please contact help@standardnotes.com.
https://forum.standardnotes.org
197 stars 9 forks source link

All Notes Search appears to return results from underlying Super notes JSON? #3537

Open robotink opened 6 months ago

robotink commented 6 months ago

Describe the bug searching for "root", all Super notes appear as a result. "root" is the only word i stumbled on but maybe all the underlying json of a super note is being searched? I haven't actually looked at the source for a Super note so that's just a guess.

To Reproduce Steps to reproduce the behavior:

  1. select all notes
  2. search for "root"
  3. every Super note will come up in the results, regardless of wether it (visibly) contains the word "root" or not

Expected behavior only words visible in a Super note come up in search results for all notes

Desktop (please complete the following information):

effieeee commented 5 months ago

Hi @robotink, I'm afraid this is a limitation with the global search bar. Due to the variety of note types supported on the app, the global search bar is only able to search the notes based on its raw, plain text contents, which include the formatting code of whichever note type it was using. Unfortunately, we have yet to find a way to address this or get around this limitation.

The word "root" does appear as part of the initial JSON formatting code for Super notes, so this is why they will appear in your search results.