Encapsulates information about the result of a navigation tree lookup.
Either the lookup matched a document node in which case the variantKey
field will identify that document, and the navigationPath
field will contain the corresponding path in the navigation tree (the
same as the one provided when doing the lookup).
If the lookup matched
a group node or the lookup didn't match but the path ended on a document
ID and the document is found at another location in the tree of one
of the lookup variants, the redirect field will be true, the navigationPath
field will contain the path to where to redirect, and the lookupAlternativeName
will contain the name of the lookupAlternative which matched.
If the lookup didn't match and the path ended on a document ID but
the document ID does not occur in the tree, then the redirect field will
be false, the navigationPath will contain an empty string and the variantKey
field will contain a variant key with that document ID and the branch
and language of the navigation tree document.
In all other cases, the notFound field will be true.
|