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 IElement(Interface): (source)
Interface to XML element nodes.
Element for a detailed example of its general use.
Warning: this Interface is not yet complete!
||Adds a node as child of this element.|
||Adds character data to this element.|
||Create an element and add as child.|
||Serializes object to a (partial) XML document|
||Dictionary of element attributes|
||List of child nodes|
||Default namespace URI of child elements|
||Dictionary of local prefixes|
||Element's local name|
||Reference to element's parent element|
||Element's namespace URI|
Adds a node as child of this element.
The node will be added to the list of childs of this element, and will have this element set as its parent when node provides
IElement. If node is a
str and the current last child is character data (
str), the text from node is appended to the existing last child.
|node:||the child node.|
Adds character data to this element.
If the current last child of this element is a string, the text will be appended to that string. Otherwise, the text will be added as a new child.
|text:||The character data to be added to this element.|
Create an element and add as child.
The new element is added to this element as a child, and will have this element as its parent.
|name:||element name. This can be either a |
|default||default namespace URI for child elements. If |
|content:||text contained by the new element.|
|object providing ||the created element|
Serializes object to a (partial) XML document
|prefixes:||dictionary that maps namespace URIs to suggested prefix names.|
|close||flag that determines whether to include the closing tag of the element in the serialized string. A value of 0 only generates the element's start tag. A value of 1 yields a complete serialization.|
|default||Initial default namespace URI. This is most useful for partial rendering, where the logical parent element (of which the starttag was already serialized) declares a default namespace that should be inherited.|
|prefixes||list of prefixes that are assumed to be declared by ancestors.|
|(partial) serialized XML|