i need a person who can do lunr js
Using lunr 2.x
Create index:
var idx = lunr(function () {
[login to view URL]('speciesName')
[login to view URL]('commonName')
Loop through species array here to convert each row into an object{
[login to view URL]({
speciesName: species[i][0],
commonName: species[i][1]
})
}
})
Break user input down into separate words adding ~3 to the end of each word then merging them back into one string (in the example I pretended the user entered 3 words, they might just type 1):
[login to view URL]('word1~3 word2~3 word~3')