pub enum Door {
Keys,
Whole,
Own,
Similar,
Set,
SimilarSet,
Fused,
FusedSimilar,
FusedLegs,
FusedLegsSimilar,
}Expand description
WHICH of a derived index’s RETRIEVE doors a name belongs to — the vocabulary the emitted read surface is spelled from.
Member one family over: a column’s accessors are derived from a column’s name, and these are
derived from an ELECTION’s, so the same rule applies to both — the suffix has one home, and a
caller names a door rather than spelling retrieve_keys_by_. Every one of them lands on the
declaration’s own type, so every one of them can be reached by a field a declaration chose.
Variants§
Keys
TIER A — retrieve_keys_by_<field>, or retrieve_keys for the unelected full-text subject.
Whole
TIER B — retrieve_by_<field>, or retrieve for that same subject.
Own
BY KEY — get_<field>, this entity’s own stored embedding, checked.
Similar
BY EXAMPLE — retrieve_similar_by_<field>.
Set
SET-SIMILARITY — retrieve_keys_by_<field>_with, the door a list(embedding) election gets.
SimilarSet
SET-SIMILARITY BY EXAMPLE — retrieve_similar_by_<field>_with, the by-example door asked
with the example’s WHOLE SET.
Fused
FUSED — vector_fuse, every route of one modality asked at once. UNELECTED, because the door
is the TIER’s rather than any one route’s.
FusedSimilar
FUSED BY EXAMPLE — vector_fuse_similar, at the tier’s own key.
FusedLegs
FUSED, ONE FANNED SLOT — vector_fuse_by_<field>, every LEG of one election asked at once.
ELECTED where Fused is not, and that is the fractal read one level down: this
door is one FIELD’s, its routes being the stores that field is written to rather than the
fields a declaration elected.
FusedLegsSimilar
FUSED, ONE FANNED SLOT, BY EXAMPLE — vector_fuse_similar_by_<field>.
Implementations§
Source§impl Door
impl Door
Sourcepub fn name(self, election: &Ident) -> Ident
pub fn name(self, election: &Ident) -> Ident
What this door is called over the election named election.
Sourcepub fn pair(election: Option<&Ident>) -> (Ident, Ident)
pub fn pair(election: Option<&Ident>) -> (Ident, Ident)
The TIER PAIR over one subject: an election’s, or the ONE subject a full-text index answers
under — which is UNSUFFIXED, because a slot is (field × engine) and is therefore already the
answer to which field.
The pair is the only part of this vocabulary with an unelected spelling, and it is written as a
PAIR rather than as a per-variant answer for exactly that reason: the four doors below it are
minted per election — a by-key read names the column it reads — so a shape that admitted None
there would be a partial function with no total caller.