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

Recent changes break whole word search #419

Closed
nebulade opened this Issue Jul 28, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@nebulade

nebulade commented Jul 28, 2017

Description

The latest release (1.7.5) breaks some search patterns for whole words. In this case typing restor in the search field correctly shows matches for the whole word restore while when the whole word is typed into the search field, the search results are empty.

This can be tested with a small md file with the following contents:

## Restore

Apps can be restored to a previous backup by clicking on the `Restore` button.

The previous version (1.7.4) does not have this issue.

@squidfunk

This comment has been minimized.

Show comment
Hide comment
@squidfunk

squidfunk Jul 28, 2017

Owner

This has to do with the default stemming by lunr, fixed in master which disabled stemming, and about to be released.

Owner

squidfunk commented Jul 28, 2017

This has to do with the default stemming by lunr, fixed in master which disabled stemming, and about to be released.

@nebulade

This comment has been minimized.

Show comment
Hide comment
@nebulade

nebulade Jul 28, 2017

Thats awesome. Thanks!

nebulade commented Jul 28, 2017

Thats awesome. Thanks!

@squidfunk

This comment has been minimized.

Show comment
Hide comment
@squidfunk

squidfunk Aug 2, 2017

Owner

Fixed in 1.8.0

Owner

squidfunk commented Aug 2, 2017

Fixed in 1.8.0

@squidfunk squidfunk closed this Aug 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment