grammar and misspellings (#2483)

* grammar

* grammar

* misspelling
This commit is contained in:
Chaya
2024-09-04 06:45:31 +02:00
committed by GitHub
parent 95a4ddea3e
commit dc5d31c116
3 changed files with 5 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ impl Executor {
/// Spawn a task on the pool, returning a future completing on task success.
///
/// If the task panic, returns `Err(())`.
/// If the task panics, returns `Err(())`.
#[cfg(feature = "quickwit")]
pub fn spawn_blocking<T: Send + 'static>(
&self,

View File

@@ -7,7 +7,7 @@ use crate::{DocId, Score};
/// Query that matches all of the documents.
///
/// All of the document get the score 1.0.
/// All of the documents get the score 1.0.
#[derive(Clone, Debug)]
pub struct AllQuery;

View File

@@ -5,8 +5,8 @@ use crate::schema::{Field, IndexRecordOption, Term};
/// `PhraseQuery` matches a specific sequence of words.
///
/// For instance the phrase query for `"part time"` will match
/// the sentence
/// For instance, the phrase query for `"part time"` will match
/// the sentence:
///
/// **Alan just got a part time job.**
///
@@ -15,7 +15,7 @@ use crate::schema::{Field, IndexRecordOption, Term};
/// **This is my favorite part of the job.**
///
/// [Slop](PhraseQuery::set_slop) allows leniency in term proximity
/// for some performance tradeof.
/// for some performance trade-off.
///
/// Using a `PhraseQuery` on a field requires positions
/// to be indexed for this field.