mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
346f288c32
### Why the changes in this PR are needed? The rule indexing docs say the indexer recognizes the normal `*` operator, but two further conditions gate indexing and neither is documented: the `*` must form a complete delimiter-separated segment, and a `null` delimiter is never indexed. Policies that follow the documented rule can silently miss the index fast path. Fixes #8209 ### What are the changes in this PR? Docs only. Three sentences and three rows added to the "Glob statements" section of `docs/docs/policy-performance.md`. The other table rows are unchanged apart from pipe realignment, which markdownlint requires because the new row is wider than the column. ### Notes to assist PR review: Behavior confirmed against `globPatternToArray`, `globDelimiterToString`, and `splitStringEscaped` in `v1/ast/index.go`. ### Further comments: None. --------- Signed-off-by: Roshan <rosh.s568@gmail.com>
Documentation and Website Development
Please see the contributing documentation for information about how to get started contributing to the OPA documentation and website.