package sherlodoc
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Search engine for OCaml documentation
Install
dune-project
Dependency
Authors
Maintainers
Sources
odoc-3.2.1.tbz
sha256=d45eb125514839fd9ac27702bb4938d1b4f3b6978e9b16ab9673ea067245affc
sha512=3555386b4770a7caa8ec903683bde5ecdc41d5e57ffaee617d5da225c747bbd1e9c1d2677f4df97e96bbdfc69f580ea83b1b92b933ea40a436a658788b677bbc
doc/sherlodoc.query/Query/Make/index.html
Module Query.MakeSource
Parameters
Signature
search ~shard ~dynamic_sort {query; packages; limit} returns (pretty_query, results) where pretty_query is a re-printed version of query and results is the list of results corresponding to the query and the various parameters.
shardsis a list of databases.resultsis the union of the results of each database of the listshards. Ifshardsis a very long list,apimight be slow to return, but in some cases you do not have a choice. Currently,indexgenerates only one shard, but it used to generate many to be able to handle the sheer size of the opam repository.
~dynamic_sortchanges the order ofresults. It istrueby default, and is only set tofalsefor debugging purposes.
queryis the query string whose shape is a list of space-separated words, followed by an optionnal: ...type annotation that filters the results by type. The type annotation accepts_as a wildcard :: string -> _will return entries that take astringas argument, but returns anything.
limitis the maximum length ofresults. Having a very large number might be an issue.
packagesis not function, use[]for this argument.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page