Query Syntax
Generally, just enter the words you want to search for. For example,
find code finds documents containing these words.
There are a lot of
ways to refine the query. This search engine has some basic capabiltities
of parsing O'Caml syntax, and so it can find words by the syntactic role
they play in the code.
- Hashtbl.fold searches for the definition
of "fold" in the module "Hashtbl", and for uses of this function anywhere
- xml -pxp searches for documents containing
the word "xml" but excludes those also containing "pxp".
- def:fold_left searches for documents
containing "fold_left" as definition (of a function, type, or other
entity).
- val:fold_left searches for documents
containing "fold_left" as value (note that also functions are values)
- type:tree searches for documents
containing "tree" as type
- namespace:map searches for documents
containing "map" as namespace name (these are modules and module types)
- class:filter searches for documents
containing "filter" as class name
- code:member searches for documents
containing "member" in code sections
- nocode:member searches for documents
containing "member" in comment or string sections, or outside of
code files
- file:http searches for documents
with "http" in their file name
- ">>" searches for documents
containing ">>" as operator (note that such special characters
must be put into quotes). There is currently no support for multi-word
phrase searches, however.