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 _PullToPush: (source)
An adapter that converts a non-streaming to a streaming producer.
Because of limitations of the producer API, this adapter requires the cooperation of the consumer. When the consumer's registerProducer is called with a non-streaming producer, it must wrap it with
_PullToPush and then call startStreaming on the resulting object. When the consumer's unregisterProducer is called, it must call stopStreaming on the
If the underlying producer throws an exception from resumeProducing, the producer will be unregistered from the consumer.
||This should be called by the consumer when the producer is registered.|
||This should be called by the consumer when the producer is unregistered.|
||A generator that calls resumeProducing on the underlying producer forever.|
||the consumer with which the underlying producer was registered.|
||the result of calling
||bool indicating whether the producer has finished.|
||the underling non-streaming producer.|
This should be called by the consumer when the producer is registered.
Start streaming data to the consumer.
This should be called by the consumer when the producer is unregistered.
Stop streaming data to the consumer.
A generator that calls resumeProducing on the underlying producer forever.
If resumeProducing throws an exception, the producer is unregistered, which should result in streaming stopping.