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

fixes #27 #28

Merged
merged 1 commit into from
May 17, 2013
Merged

fixes #27 #28

merged 1 commit into from
May 17, 2013

Conversation

gambhiro
Copy link
Contributor

Small fix and test for issue #27.

@olivernn
Copy link
Owner

Hmm, this seems to have broken something else where - https://travis-ci.org/olivernn/lunr.js/builds/7211340

I'll have a look to see what the issue is, if you find it before me let me know and push a fix…

@olivernn
Copy link
Owner

Ok I found out what was breaking the tests, when adding a document lunr always expects a field to have at least one token in it.

The bug in the tokenizer was masking this bug in index.add, I'll add my fix to this pull request and then we should be good to go.

@olivernn olivernn merged commit 076bc9a into olivernn:master May 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants