pub enum SignalType {
SemanticRelevance,
TextualRelevance,
DocumentFreshness,
DocumentAuthority,
DocumentQuality,
UserPreference,
ClickThroughRate,
DocumentPopularity,
InteractionHistory,
DomainSpecific(String),
}Expand description
Types of relevance signals
Variants§
SemanticRelevance
Semantic similarity between query and document
TextualRelevance
Textual/keyword relevance (BM25, TF-IDF)
DocumentFreshness
Document freshness/recency
DocumentAuthority
Document authority/credibility
DocumentQuality
Document quality metrics
UserPreference
User preference signals
ClickThroughRate
Click-through rates
DocumentPopularity
Document popularity
InteractionHistory
Query-document interaction history
DomainSpecific(String)
Domain-specific signals
Trait Implementations§
Source§impl Clone for SignalType
impl Clone for SignalType
Source§fn clone(&self) -> SignalType
fn clone(&self) -> SignalType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignalType
impl Debug for SignalType
Source§impl Hash for SignalType
impl Hash for SignalType
Source§impl PartialEq for SignalType
impl PartialEq for SignalType
impl Eq for SignalType
impl StructuralPartialEq for SignalType
Auto Trait Implementations§
impl Freeze for SignalType
impl RefUnwindSafe for SignalType
impl Send for SignalType
impl Sync for SignalType
impl Unpin for SignalType
impl UnwindSafe for SignalType
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
Mutably borrows from an owned value. Read more
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§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
Compare self to
key and return true if they are equal.