sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Tfidf.Mono
SourceA functor for building a Tfidf search index over one type of document.
module Doc : sig ... end
The search index
index t doc uid
indexes a given document doc
in t
with a unique identifier uid
.
Same as add_index
but allows you to add multiple indexes at a time before re-indexing occurs.
val empty :
?santiser:(string -> string) ->
?strategy:(string -> string list) ->
?tokeniser:(string -> string list) ->
unit ->
t
Create a new empty search index.
Dumps the index, mainly for debugging or testing.