Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about examples #20

Open
KingOfSpades opened this issue Apr 16, 2021 · 2 comments
Open

Question about examples #20

KingOfSpades opened this issue Apr 16, 2021 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@KingOfSpades
Copy link

Hey,

Quick question. In some example you are using:

query: "'folder1/'" 

But in other examples it misses one ', like:

query: "'folder1/" 

The strange thing is. The first example does not give me any results in my own Obsidian vault but the second one does. Is this expected behavior or am I doing something wrong?

@jplattel
Copy link
Owner

Hey @KingOfSpades you're right! My own documentation is wrong. It should be just a single ' at the start, that's the correct way to match and exact string with the extended search of Fuse: https://fusejs.io/examples.html#extended-search

I'll fix the README file to reflect the right way to do it!

@jplattel jplattel self-assigned this Apr 17, 2021
@jplattel jplattel added bug Something isn't working documentation Improvements or additions to documentation labels Apr 17, 2021
@KingOfSpades
Copy link
Author

Haha no problem! I was eating myself up because I couldn't get it to work until I saw the documentation at https://fusejs.io/examples.html#extended-search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants