pub struct SearchSettings {
pub embedding_provider: EmbeddingProvider,
pub embedding_model: String,
pub vector_backend: VectorBackend,
pub enable_hybrid: bool,
pub enable_reranking: bool,
pub qdrant_url: Option<String>,
pub ollama_url: Option<String>,
}Expand description
Search pipeline settings
Fields§
§embedding_provider: EmbeddingProviderEmbedding provider
embedding_model: StringEmbedding model name
vector_backend: VectorBackendVector store backend
enable_hybrid: boolEnable hybrid search (BM25 + Vector)
enable_reranking: boolEnable reranking (Cross-encoder)
qdrant_url: Option<String>Qdrant URL (if using Qdrant)
ollama_url: Option<String>Ollama URL (if using Ollama)
Trait Implementations§
Source§impl Clone for SearchSettings
impl Clone for SearchSettings
Source§fn clone(&self) -> SearchSettings
fn clone(&self) -> SearchSettings
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 SearchSettings
impl Debug for SearchSettings
Source§impl Default for SearchSettings
impl Default for SearchSettings
Source§impl<'de> Deserialize<'de> for SearchSettings
impl<'de> Deserialize<'de> for SearchSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SearchSettings
impl PartialEq for SearchSettings
Source§impl Serialize for SearchSettings
impl Serialize for SearchSettings
impl StructuralPartialEq for SearchSettings
Auto Trait Implementations§
impl Freeze for SearchSettings
impl RefUnwindSafe for SearchSettings
impl Send for SearchSettings
impl Sync for SearchSettings
impl Unpin for SearchSettings
impl UnwindSafe for SearchSettings
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<T> FromQuery for Twhere
T: DeserializeOwned,
impl<T> FromQuery for Twhere
T: DeserializeOwned,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.