reyesr / fullproof

javascript fulltext search engine library
http://reyesr.github.com/fullproof/
Apache License 2.0
666 stars 46 forks source link

Tutorial example hits an uncaught TypeError #10

Open terrycojones opened 11 years ago

terrycojones commented 11 years ago

This code in boolean-engine.js:

for (var i = 0; i < array_of_words.length; ++i) {
    unit.index.lookup(array_of_words[i], lookup_synchro);
}

causes a "Cannot call lookup method of undefined" error when browsing examples/tutorial.html.