seongjaelee / nvatom

nvatom (unpublished from atom.io)
MIT License
75 stars 14 forks source link

Cannot search special characters in note title #51

Closed aviau closed 8 years ago

aviau commented 8 years ago

Hello!

I have created note with the following title: hello @test

Now I want to search for the note, so I type in @test in the search bar, but my note does not show up.

As soon as I type the @ character, all search results disapear.

seongjaelee commented 8 years ago

This is docQuery -> lunr's problem. notational-velocity-view.coffee, filter: (filterQuery), return @docQuery.search(filterQuery). If you want to search with @, go to Settings and uncheck "Enable Lunr Pipeline".

If we really really want to be improve it, we should search titles outside of lunr framework... but I don't want to.