pub enum ProjectionRole {
Filterable,
Rankable,
Searchable,
}Expand description
0.8.20 Slice 15d (R-20-PR, C-1) — one member of a ProjectionSpec’s role
set. Exactly three members (HITL-ratified S8, api-surface.md:87):
searchable→FTS and searchable→vector are NOT roles — they are tier labels
carried by the fts/vector sub-objects of the spec, so an attribute is
Searchable once and the sub-objects select FTS-only / vector-only / both.
Variants§
Filterable
Projects into the EAV store + its (attr_name, attr_value) composite
index — cheap equality/range, built same-transaction.
Rankable
The F9 importance/recency signal. Graceful-absent (Q6a): declaring
it is legal and never errors, but the engine DEFERS the build until F9
exists and grafts it on the next idempotent configure_projections.
Searchable
Full-text / dense recall of the meaning text. The fts/vector
sub-objects select the sub-target.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectionRole
impl Clone for ProjectionRole
Source§fn clone(&self) -> ProjectionRole
fn clone(&self) -> ProjectionRole
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more