pub struct Stopwords {
pub languages: Vec<Language>,
pub custom: Vec<String>,
}Expand description
Stopword selection, mirroring Qdrant’s StopwordsInterface.
None (the stopwords field left unset) keeps the processing
language’s list. Some replaces it: an empty Stopwords disables
filtering entirely (Qdrant’s Set default), otherwise the listed
languages plus custom words are merged.
Fields§
§languages: Vec<Language>Additional language lists to merge.
custom: Vec<String>Custom words to merge (compared post-normalization, like Qdrant,
which lowercases entries when lowercase is on).
Trait Implementations§
impl Eq for Stopwords
impl StructuralPartialEq for Stopwords
Auto Trait Implementations§
impl Freeze for Stopwords
impl RefUnwindSafe for Stopwords
impl Send for Stopwords
impl Sync for Stopwords
impl Unpin for Stopwords
impl UnsafeUnpin for Stopwords
impl UnwindSafe for Stopwords
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