Search bar offers the following options:
Term presence. The below example searches for documents that
must contain “foo”, might contain “bar” and must not contain “baz”:
+foo bar -baz
Wildcards. The below example searches for documents with words beginning with “foo”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “search”:
Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.
Fuzzy matches. The following search matches all documents
that have a word within 1 edit distance of “foo”:
Results provided by Lunr.js
A web resource.
||Return a child with the given name for the given request. This is the external interface used by the Resource publishing machinery. If implementing IResource without subclassing Resource, it must be provided...|
||Put a child
||Render a request. This is called on the leaf resource for a request.|
||Signal if this IResource implementor is a "leaf node" or not. If True, getChildWithDefault will not be called on this Resource.|
Return a child with the given name for the given request. This is the external interface used by the Resource publishing machinery. If implementing IResource without subclassing Resource, it must be provided. However, if subclassing Resource, getChild overridden instead.
|name:bytes||A single path component from a requested URL. For example, a request for http://example.com/foo/bar will result in calls to this method with b"foo" and b"bar" as values for this argument.|
|request:||A representation of all of the information about the request that is being made for this child.|
Put a child
IResource implementor at the given path.
A single path component, to be interpreted relative to the path this resource is found at, at which to put the given child. For example, if resource A can be found at http://example.com/foo then a call like A.putChild(b"bar", B) will make resource B available at http://example.com/foo/bar.
The path component is not URL-encoded -- pass b'foo bar' rather than b'foo%20bar'.
Render a request. This is called on the leaf resource for a request.
|Either server.NOT_DONE_YET to indicate an asynchronous or a bytes instance to write as the response to the request. If NOT_DONE_YET is returned, at some point later (for example, in a Deferred callback) call request.write(b"<html>") to write data to the request, and request.finish() to send the data to the browser.|
|If the HTTP verb requested is not supported by this resource.|