pub enum PreviewFeature {
Show 18 variants
HybridSearch,
LocalCallables,
GraphTypeOptProps,
GraphTypeDefaultValues,
GraphTypeImpliedLabels,
Ontology,
ObfuscatedLiterals,
MixedLabelSyntax,
Float16CoordinateTypes,
ChronologicalComparisons,
CollectionZip,
CollectionHas,
CypherAnnotations,
GqlStddevAliases,
GraphTypeShowVariants,
PathConstruction,
PathConcatenation,
VortexStore,
}Expand description
A gated preview Cypher feature. The table order is the registry order; rows are never renumbered, only appended.
Variants§
HybridSearch
CIP-278 hybrid search COMBINE (reserved; lands later).
LocalCallables
CIP-231 local callables: DEFINE PROCEDURE/FUNCTION, ADR-0382.
GraphTypeOptProps
CIP-283 graph-type optional properties (prop :: ANY in element types).
GraphTypeDefaultValues
CIP-262 graph-type property default values (DEFAULT ON COMMIT <value expression>).
GraphTypeImpliedLabels
CIP-266 graph-type implied labels that identify node element types (inheritance).
Ontology
The ontology feature’s whole dialect surface: the db.ontology.* procedures (ADR-0378: the first non-syntax extension of ADR-0371’s scope policy — the family’s contract tracks the non-final Ontology Graph Spec and CIP-287) and, through the namespace registry’s mapping, the system_ontologies namespace’s visibility (ADR-0593 — the namespace exists to host this feature’s stored document, so its listing advertises the same non-final surface the procedures do). Row, mapping and gates are removed once the spec and CIP-287 are final.
ObfuscatedLiterals
The Neo4j obfuscated literal ******: parsed to a dummy false for semantic analysis, never executed. Gates at the lexer, the one point the two behaviors differ: enabled it lexes as a literal, disabled the stream is the ordinary * tokens and the parser’s own syntax error – Neo4j’s disabled form is a syntax error, not ADR-0371’s authored preview error, so the gate never reaches the front detector loop (the registry names no detector site for it).
MixedLabelSyntax
Neo4j’s mixed-label-syntax extra semantic feature: legacy colon-conjunction, GQL label-expression symbols and the IS introducer may mix across the label expressions of one clause (gates at parse, threaded to the parser as ParseOptions; mixing inside ONE label expression stays rejected).
Float16CoordinateTypes
The FLOAT16/BFLOAT16 vector coordinate types (CIP-280, ADR-0464), mirroring Neo4j’s own configuration toggle: the types in a VECTOR<…> type expression and the vector(<list>, <dim>, <type>) constructor. Detected on the parsed AST; the disabled form is ADR-0371’s authored error.
ChronologicalComparisons
Cypher 25’s four chronological comparison operators (a IS [NOT] BEFORE | AFTER | SAME INSTANT | SAME REPRESENTATION b), mirroring Neo4j’s own toggle. Detected on the parsed AST; the disabled form is ADR-0371’s authored error.
CollectionZip
CIP-274: the coll.zip collection function, callable and SHOW-listed only under this opt-in (ADR-0497). A live Neo4j probe records the name as front-end registered but unreachable – no SHOW FUNCTIONS row, 42N48 under CYPHER 5 and 25 – so the default dialect must not advertise it. Row and gate are deleted when a Neo4j release ships the function.
CollectionHas
CIP-286: the coll.hasAnyOf/coll.hasAllOf/coll.hasNoneOf collection functions, callable and SHOW-listed only under this opt-in (ADR-0497). One row for the three-name family; deleted when CIP-286 ships.
CypherAnnotations
CIP-281 Cypher annotations: clause-level @name(params) markers before a clause, parsed and semantically checked, then discarded (no runtime effect). Gates at the lexer, the one point the two behaviors differ: enabled, @ lexes as the annotation introducer; disabled, it is the ordinary unexpected character: @ syntax error. Row and gate are deleted when the CIP ships in a release.
GqlStddevAliases
CIP-245’s stddev_samp/stddev_pop spellings (ADR-0497): the corpus catalogue lists only the canonical stdev_samp/stdev_pop, and Neo4j 2026.05 answers 42N48 for the GQL spellings, so the default dialect advertises and dispatches only the stdev_* rows. The gate keeps the @doc-derived 78/78 reachable. Deleted when a release registers the spellings (or the scenarios are re-pinned).
GraphTypeShowVariants
CIP-275 graph-type display variants of SHOW CURRENT GRAPH TYPE: consolidated and flattened.
PathConstruction
The PATH [n1, r1, n2, ...] path constructor: builds a path value from an alternating node, relationship, … list. Detected at the parse point (the PATH word before [); the disabled form is ADR-0371’s authored error.
PathConcatenation
The p1 || p2 path concatenation: joins two paths that share a boundary node. Gates the || operator over path operands at evaluation; the disabled form is the existing || operand type error, not the authored error.
VortexStore
The Vortex columnar property store (ADR-0665), experimental: an alternative storage representation behind the executor’s PropStore seam. The registry’s first storage-representation row (ADR-0703): the gate is at Database::open, not at a parse or dispatch site — the row attaches the store for every open in the process (the typed OpenOptions::vortex_store field opts in one open), and a build without the vortex-store cargo feature fails the open closed naming the feature. While disabled nothing changes: the default compact records answer, and no statement can ask for the store, so there is no authored disabled-error.
Implementations§
Source§impl PreviewFeature
impl PreviewFeature
Sourcepub fn kebab_name(self) -> &'static str
pub fn kebab_name(self) -> &'static str
The feature’s kebab-case RELATE_PREVIEW name. The
exhaustive match is the compile guarantee the registry
exists for — coverage cannot drift from the table.
Sourcepub fn gate_sites(self) -> &'static [GateSite]
pub fn gate_sites(self) -> &'static [GateSite]
The pipeline sites that check this feature’s gate.
Sourcepub fn from_kebab_name(name: &str) -> Option<Self>
pub fn from_kebab_name(name: &str) -> Option<Self>
The feature for a kebab-case RELATE_PREVIEW name.
None when name is not a registered feature.
Trait Implementations§
Source§impl Clone for PreviewFeature
impl Clone for PreviewFeature
impl Copy for PreviewFeature
Source§impl Debug for PreviewFeature
impl Debug for PreviewFeature
impl Eq for PreviewFeature
Source§impl Hash for PreviewFeature
impl Hash for PreviewFeature
Source§impl PartialEq for PreviewFeature
impl PartialEq for PreviewFeature
impl StructuralPartialEq for PreviewFeature
Auto Trait Implementations§
impl Forget for PreviewFeature
impl Freeze for PreviewFeature
impl Move for PreviewFeature
impl RefUnwindSafe for PreviewFeature
impl Send for PreviewFeature
impl Sync for PreviewFeature
impl Unpin for PreviewFeature
impl UnsafeUnpin for PreviewFeature
impl UnwindSafe for PreviewFeature
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.