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
Agent wrapper to handle encoded content.
It takes care of declaring the support for content in the Accept-Encoding header and automatically decompresses the received data if the Content-Encoding header indicates a supported encoding.
agent = ContentDecoderAgent(Agent(reactor), [(b'gzip', GzipDecoder)])
|agent||The agent to wrap|
|decoders||A sequence of (name, decoder) objects. The name declares which encoding the decoder supports. The decoder must accept an |
||Send a client request which declares supporting compressed content.|
||Check if the response is encoded, and wrap it to handle decompression.|
Check if the response is encoded, and wrap it to handle decompression.