Jump to content

Inverted index: Difference between revisions

No edit summary
Line 1,058:
 
===Indexing===
Index values are sets associatesassociated with each word (key). We use the local-put-value function to permanently store the index, in the browser local storage.
<lang lisp>
;; set of input files
Line 1,084:
(for ((word text)) (invert-word (string-downcase word) file INVERT))))
</lang>
 
=== Query ===
Intersect sets values of each word.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.