Skip to content

Commit 57edc89

Browse files
committed
Comments
1 parent 54ac2ab commit 57edc89

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/search.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,7 @@ pub struct SearchQuery<'a, Http: HttpClient> {
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.
386-
///
387-
/// Can Significantly increase the response size.
385+
/// Defines whether document embeddings are returned with search results.
388386
#[serde(skip_serializing_if = "Option::is_none")]
389387
pub retrieve_vectors: Option<bool>,
390388
}
@@ -520,9 +518,7 @@ impl<'a, Http: HttpClient> SearchQuery<'a, Http> {
520518
self
521519
}
522520

523-
/// Defines whether vectors for semantic searching are returned in the search results
524-
///
525-
/// Can Significantly increase the response size.
521+
/// Defines whether document embeddings are returned with search results.
526522
pub fn with_retrieve_vectors<'b>(
527523
&'b mut self,
528524
retrieve_vectors: bool,
@@ -1598,7 +1594,7 @@ mod tests {
15981594
Ok(())
15991595
}
16001596

1601-
/// enable vector searching and configure an userProvided embedder
1597+
/// Enable vector searching and configure an userProvided embedder
16021598
async fn setup_hybrid_searching(client: &Client, index: &Index) -> Result<(), Error> {
16031599
use crate::settings::{Embedder, UserProvidedEmbedderSettings};
16041600
let embedder_setting =

0 commit comments

Comments
 (0)