Corpus Object

Defined in: packages/megadoc-corpus/defs/core.js

The root corpus node. You do not directly build or interact with this node, only through the public api.

Static Property Documentation

  • indexFields: Array.<String>

    The fields that should be considered by the indexer for building indices for nodes. The set defined on T.Corpus is the default set of index fields that will be used for all nodes unless they override them.

    See Tuning the indexer for more information about this field.

    Defaults to: [ "$uid", "$filePath" ]

  • namespaces: Array.<T.Namespace>

    The list of namespace nodes contained within the corpus.