Skip to content

docs(#526): document Real-time Aggregated Facets (RAF) - #528

Open
robfrank wants to merge 4 commits into
mainfrom
docs/526-raf-facets
Open

robfrank wants to merge 4 commits into
mainfrom
docs/526-raf-facets

Conversation

@robfrank

@robfrank robfrank commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Closes #526

Documents the columnar faceting subsystem (engine PRs #11338 to #11346, umbrella ArcadeData/arcadedb#10355, release 26.12.1) under its final name, RAF (Real-time Aggregated Facets). Facts were checked against the engine code (GlobalConfiguration, query/facet, index/columnar, ColumnarMetrics, ColumnarGroupByPlanner, SQLFunctionFacetSearchValues) and its tests, not only the design notes.

  • concepts/raf.adoc: COLUMNAR index, supported types, cost (+6% inserts / +10% updates), projection lifecycle (backup, export/import, restart, unclean shutdown, snapshot install), exactness (patched, lagMs), bucket-level security, read-trigger fallback, HA, metrics, PROFILE, tuning, known limitation #11364.
  • reference/sql/sql-facets.adoc: FACETS syntax and every facet kind, FILTER, facet.searchValues(), the answer (meta, source, reason), unavailable/fallback reasons, transports, GROUP BY acceleration.
  • Settings reference: the 24 columnar.* keys (plus blockCache.maxBytes), with scope and default.
  • SELECT syntax, CREATE INDEX and index-overview entries, nav, upgrade note.

Deviations from the issue text, taken from the code: columnar.maxCardinality raises a warning and a gauge, it does not refuse creation; maxCardinality and hierarchy go in the index METADATA.

Not verified by running: the SQL samples were taken from the engine tests and not executed against a build, and the Python client page is only linked (arcadedb-python#289).

🤖 Generated with Claude Code

Adds the RAF concepts page (COLUMNAR index, cost, projection lifecycle,
exactness, security, HA, metrics, PROFILE), the FACETS clause reference
(all facet kinds, FILTER, facet.searchValues, answer shape, unavailable
reasons, transports, GROUP BY acceleration), the 24 columnar.* settings,
the COLUMNAR entry in the index pages, the SELECT syntax and an upgrade note.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mergify

mergify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: FACETS DISTINCT/STATS/HIERARCHY/AFTER, facet.searchValues and GROUP BY acceleration

1 participant