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
An event driven queue.
Objects may be added as usual to this queue. When an attempt is made to retrieve an object when the queue is empty, a
Deferred is returned which will fire when an object becomes available.
||Attempt to retrieve and remove an object from the queue.|
||Add an object to this queue.|
||The maximum number of
||The maximum number of objects to allow into the queue at a time. When an attempt to add a new object would exceed this limit,
||Remove a deferred d from our waiting list, as the deferred has been canceled.|
Attempt to retrieve and remove an object from the queue.
|Too many (more than backlog) |
Add an object to this queue.
|Too many objects are in this queue.|
The maximum number of
Deferred gets to allow at one time. When an attempt is made to get an object which would exceed this limit,
QueueUnderflow is raised synchronously.
None for no limit.
The maximum number of objects to allow into the queue at a time. When an attempt to add a new object would exceed this limit,
QueueOverflow is raised synchronously.
None for no limit.
Remove a deferred d from our waiting list, as the deferred has been canceled.
Note: We do not need to wrap this in a try/except to catch d not being in self.waiting because this canceller will not be called if d has fired. put() pops a deferred out of self.waiting and calls it, so the canceller will no longer be called.
|d:||The deferred that has been canceled.|