diff --git a/docs/modules/ROOT/pages/how-to/columnar-index.adoc b/docs/modules/ROOT/pages/how-to/columnar-index.adoc index b4c7e64b..9ed959fd 100644 --- a/docs/modules/ROOT/pages/how-to/columnar-index.adoc +++ b/docs/modules/ROOT/pages/how-to/columnar-index.adoc @@ -3,7 +3,7 @@ // Sources: ArcadeDB 26.12.1: GlobalConfiguration.java (COLUMNAR_*), AlterDatabaseStatement.java, ColumnarGroupByStep.java, ColumnarCrashRecoveryTest.java. The statements about Python are pinned by tests/test_columnar_index.py, which runs on arcadedb-jvm and on the native arcadedb. -A `COLUMNAR` index keeps a column projection of a type next to its records. The engine applies, flushes and merges it in threads of its own, and the `FACETS` clause and `GROUP BY` read it. It needs engine 26.12.1 or later: an older engine refuses `CREATE INDEX ... COLUMNAR` with `Index type 'COLUMNAR' is not supported`. Until 26.12.1 is released, a pre-release wheel brings such an engine: see xref:how-to/facets.adoc#older-engine[An older engine]. The facets themselves are read with `ResultSet.facets`, which xref:how-to/facets.adoc[Faceted queries] shows kind by kind. +A `COLUMNAR` index keeps a column projection of a type next to its records. The engine applies, flushes and merges it in threads of its own, and the `FACETS` clause and `GROUP BY` read it. It needs engine 26.12.1 or later: an older engine refuses `CREATE INDEX ... COLUMNAR` with `Index type 'COLUMNAR' is not supported`. Version 26.12.1 and later of both packages carry such an engine, and an older release needs an upgrade: see xref:how-to/facets.adoc#older-engine[An older engine]. The facets themselves are read with `ResultSet.facets`, which xref:how-to/facets.adoc[Faceted queries] shows kind by kind. The index is a statement, so it is the same on both builds: diff --git a/docs/modules/ROOT/pages/how-to/facets.adoc b/docs/modules/ROOT/pages/how-to/facets.adoc index 9d1d2adf..1e3341bc 100644 --- a/docs/modules/ROOT/pages/how-to/facets.adoc +++ b/docs/modules/ROOT/pages/how-to/facets.adoc @@ -742,7 +742,7 @@ has_facets = engine_version(db) >= (26, 12, 1) A snapshot or a build suffix of the version is dropped, so `26.12.1-SNAPSHOT` counts as 26.12.1. The https://github.com/ArcadeData/arcadedb-python/blob/main/examples/30_columnar_facets.py[example] makes this check, and prints one line and stops when the engine is too old. -Until 26.12.1 is released, a pre-release wheel can bring an engine that has both features. A plain `uv add {native-pkg-name}` installs the final release, which does not, so ask for the pre-release: `uv add --prerelease allow {native-pkg-name}` (or `{jvm-pkg-name}`), or name its version, for example `uv add "{jvm-pkg-name}==26.12.1.dev2"`. Version `26.12.1.dev2` of both packages accepts the `COLUMNAR` index and the `FACETS` clause. The check above tells you what an installed build has. xref:installation.adoc[Installation] says more about pre-releases. +Version 26.12.1 and later of both packages carry an engine that has both features. With an older release, run `uv add --upgrade {native-pkg-name}` (or `{jvm-pkg-name}`). The check above tells you what an installed build has. == Known limits