docs/reference/query-languages/esql/_snippets/common/view_limitations.md
Commands that also generate branched query plans
(FORK, subqueries)
are usually not allowed within a view definition, unless the branch points
can be merged via
query compaction.
Views may be nested up to depth 10. Branching and nesting are allowed in combination as long as there is never more than one branch point:
FORK.Views are supported in Cross-cluster search with some limitations:
FROM cluster:view will only
match remote indexes with the name view. If a remote view is found,
the query will fail).Views are available in serverless and Cross-project search, but with some limitations: :::{include} ../common/cps_view_limitations.md :::
Query parameters are not allowed in the view definition, and therefore query parameters in the main query will never impact the view results.
Views are in tech-preview and there are a number of known issues, or behavior that is likely to change in the future:
METADATA directives inside and outside a view definition behave the same
as they do for
METADATA in subqueries.
This will change for views.