Skip to content

Commit 54ac2ab

Browse files
committed
Edit doc
1 parent 72e1bdc commit 54ac2ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/search.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -374,15 +374,15 @@ pub struct SearchQuery<'a, Http: HttpClient> {
374374
#[serde(skip_serializing_if = "Option::is_none")]
375375
pub(crate) index_uid: Option<&'a str>,
376376

377-
/// Defines whether to utilise previously defined embedders for semantic searching
377+
/// Configures Meilisearch to return search results based on a query’s meaning and context.
378378
#[serde(skip_serializing_if = "Option::is_none")]
379379
pub hybrid: Option<HybridSearch<'a>>,
380380

381-
/// Defines what vectors an userprovided embedder has gotten for semantic searching
381+
/// Use a custom vector to perform a search query.
382382
#[serde(skip_serializing_if = "Option::is_none")]
383383
pub vector: Option<&'a [f32]>,
384384

385-
/// Defines whether vectors for semantic searching are returned in the search results
385+
/// Defines whether vectors for semantic searching are returned in the search results.
386386
///
387387
/// Can Significantly increase the response size.
388388
#[serde(skip_serializing_if = "Option::is_none")]
@@ -642,7 +642,7 @@ impl<'a, Http: HttpClient> SearchQuery<'a, Http> {
642642
self
643643
}
644644

645-
/// Defines whether to utilise previously defined embedders for semantic searching
645+
/// Configures Meilisearch to return search results based on a query’s meaning and context
646646
pub fn with_hybrid<'b>(
647647
&'b mut self,
648648
embedder: &'a str,
@@ -655,7 +655,7 @@ impl<'a, Http: HttpClient> SearchQuery<'a, Http> {
655655
self
656656
}
657657

658-
/// Defines what vectors an userprovided embedder has gotten for semantic searching
658+
/// Use a custom vector to perform a search query
659659
pub fn with_vector<'b>(&'b mut self, vector: &'a [f32]) -> &'b mut SearchQuery<'a, Http> {
660660
self.vector = Some(vector);
661661
self

0 commit comments

Comments
 (0)