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 _PositioningSentenceProducerMixin: (source)
A mixin for certain protocols that produce positioning sentences.
This mixin helps protocols that store the layout of sentences that they consume in a _SENTENCE_CONTENTS class variable provide all sentence attributes that can ever occur. It does this by providing a class method, getSentenceAttributes, which iterates over all sentence types and collects the possible sentence attributes.
||Returns a set of all attributes that might be found in the sentences produced by this protocol.|
def getSentenceAttributes(cls): (source) ¶
Returns a set of all attributes that might be found in the sentences produced by this protocol.
This is basically a set of all the attributes of all the sentences that this protocol can produce.
|set of str||The set of all possible sentence attribute names.|