InternalSelects an embedded Flag Document with the supplied search function.
Applies the envelope expression to the retrieved configuration.
Optionalenvelope?: neverLeaves the retrieved configuration unchanged.
OptionalenvelopeSearchFn?: neverOmits document selection when no envelope is supplied.
Configures document selection with both an expression and a search function.