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
class _HeadersPlusNLines: (source)
A utility class to retrieve the header and some lines of the body of a mail message.
||Scan bytes from the file.|
||The portion of the message body that has been scanned, up to n lines.|
||A flag indicating when the desired part of the message has been scanned.|
||An indication of which part of the message is being scanned. True for the header and False for the body.|
||The number of full lines of the message body scanned.|
|file:file-like object||A file containing a mail message.|
|extra||The number of lines of the message body to retrieve.|
Scan bytes from the file.
|bytes:||The number of bytes to read from the file.|
|Each portion of the header as it is scanned. Then, full lines of the message body as they are scanned. When more than one line of the header and/or body has been scanned, the result is the concatenation of the lines. When the scan results in no full lines, the empty string is returned.|
An indication of which part of the message is being scanned. True for the header and False for the body.