pub enum FeatureType {
QueryDocumentSimilarity,
DocumentLength,
QueryTermFrequency,
DocumentTermFrequency,
InverseLinkFrequency,
BM25Score,
AuthorityScore,
ClickThroughRate,
ExactMatches,
PositionalFeatures,
TemporalFeatures,
Custom(String),
}Expand description
Types of ranking features
Variants§
QueryDocumentSimilarity
Query-document similarity scores
DocumentLength
Document length features
QueryTermFrequency
Query term frequency in document
DocumentTermFrequency
Document term frequency
InverseLinkFrequency
Inverse document frequency
BM25Score
BM25 score
AuthorityScore
PageRank or authority score
ClickThroughRate
Click-through rate
ExactMatches
Query-document exact matches
PositionalFeatures
Positional features
TemporalFeatures
Temporal features
Custom(String)
Custom feature
Trait Implementations§
Source§impl Clone for FeatureType
impl Clone for FeatureType
Source§fn clone(&self) -> FeatureType
fn clone(&self) -> FeatureType
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 FeatureType
impl Debug for FeatureType
Source§impl Hash for FeatureType
impl Hash for FeatureType
Source§impl PartialEq for FeatureType
impl PartialEq for FeatureType
impl Eq for FeatureType
impl StructuralPartialEq for FeatureType
Auto Trait Implementations§
impl Freeze for FeatureType
impl RefUnwindSafe for FeatureType
impl Send for FeatureType
impl Sync for FeatureType
impl Unpin for FeatureType
impl UnwindSafe for FeatureType
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.