Skip to content

Update lunr.vi.js - #113

Open
brianhuster wants to merge 1 commit into
MihaiValentin:masterfrom
brianhuster:master
Open

Update lunr.vi.js#113
brianhuster wants to merge 1 commit into
MihaiValentin:masterfrom
brianhuster:master

Conversation

@brianhuster

@brianhuster brianhuster commented May 6, 2024

Copy link
Copy Markdown

I have fixed the warning Function is not registered with pipeline. This may cause problems when serialising the index. by adding the line

lunr.Pipeline.registerFunction(lunr.vi.stopWordFilter, 'stopWordFilter-vi');

Also, I have updated the stopwords with more words and remove a word ("là", which I think can be confuse with "bàn là" (flat iron)).

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.

1 participant