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 JID: (source)
Represents a stringprep'd Jabber ID.
JID objects are hashable so they can be used in sets and as keys in dictionaries.
||Get object representation.|
||Get unicode representation.|
||Return the string representation of this JID.|
||Extract the bare JID as a unicode string.|
||Extract the bare JID.|
JIDs compare equal if their user, host and resource parts all compare equal. When comparing against instances of other types, it uses the default comparison.
Get object representation.
Returns a string that would create a new JID object that compares equal to this one.
Get unicode representation.
Return the string representation of this JID as a unicode string.
Extract the bare JID as a unicode string.
A bare JID does not have a resource part, so this returns either user@host or just host.
Extract the bare JID.
A bare JID does not have a resource part, so this returns a
JID object representing either user@host or just host.
If the object this method is called upon doesn't have a resource set, it will return itself. Otherwise, the bare JID object will be created, interned using