Inverted index: Difference between revisions
Content added Content deleted
Line 1,920: | Line 1,920: | ||
const filenames = ["file1.txt", "file2.txt", "file3.txt"] |
const filenames = ["file1.txt", "file2.txt", "file3.txt"] |
||
const didx = makedoubleindex(filenames) |
const didx = makedoubleindex(filenames) |
||
searchterms = ["forehead", "of", "hand", "a", "foot"] |
const searchterms = ["forehead", "of", "hand", "a", "foot"] |
||
wordsearch(didx, searchterms) |
wordsearch(didx, searchterms) |
||
</lang> |
</lang> |