mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Make the indexing process send the new progress step events
This commit is contained in:
parent
e78b96a657
commit
ea43080548
5 changed files with 167 additions and 49 deletions
|
@ -21,7 +21,7 @@ pub enum UpdateIndexingStep {
|
|||
}
|
||||
|
||||
impl UpdateIndexingStep {
|
||||
pub const fn step_index(&self) -> usize {
|
||||
pub const fn step(&self) -> usize {
|
||||
match self {
|
||||
TransformFromUserIntoGenericFormat { .. } => 0,
|
||||
ComputeIdsAndMergeDocuments { .. } => 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue