mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Merge #3641
3641: Bring back changes from `release v1.1.0` into `main` after v1.1.0 release r=curquiza a=curquiza Replace https://github.com/meilisearch/meilisearch/pull/3637 since we don't want to pull commits from `main` into `release-v1.1.0` when fixing git conflicts Co-authored-by: ManyTheFish <many@meilisearch.com> Co-authored-by: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Co-authored-by: Charlotte Vermandel <charlottevermandel@gmail.com> Co-authored-by: Tamo <tamo@meilisearch.com> Co-authored-by: Louis Dureuil <louis@meilisearch.com> Co-authored-by: curquiza <clementine@meilisearch.com> Co-authored-by: Clément Renault <clement@meilisearch.com> Co-authored-by: Many the fish <many@meilisearch.com>
This commit is contained in:
commit
b4c01581cd
262 changed files with 4045 additions and 381 deletions
|
@ -115,5 +115,5 @@ japanese = ["meilisearch-types/japanese"]
|
|||
thai = ["meilisearch-types/thai"]
|
||||
|
||||
[package.metadata.mini-dashboard]
|
||||
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.2.6/build.zip"
|
||||
sha1 = "dce0aba16bceab5549edf9f01de89858800f7422"
|
||||
assets-url = "https://github.com/meilisearch/mini-dashboard/releases/download/v0.2.7/build.zip"
|
||||
sha1 = "28b45bf772c84f9a6e16bc1689b393bfce8da7d6"
|
||||
|
|
|
@ -220,6 +220,28 @@ pub async fn delete_index(
|
|||
Ok(HttpResponse::Accepted().json(task))
|
||||
}
|
||||
|
||||
/// Stats of an `Index`, as known to the `stats` route.
|
||||
#[derive(Serialize, Debug)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct IndexStats {
|
||||
/// Number of documents in the index
|
||||
pub number_of_documents: u64,
|
||||
/// Whether the index is currently performing indexation, according to the scheduler.
|
||||
pub is_indexing: bool,
|
||||
/// Association of every field name with the number of times it occurs in the documents.
|
||||
pub field_distribution: FieldDistribution,
|
||||
}
|
||||
|
||||
impl From<index_scheduler::IndexStats> for IndexStats {
|
||||
fn from(stats: index_scheduler::IndexStats) -> Self {
|
||||
IndexStats {
|
||||
number_of_documents: stats.inner_stats.number_of_documents,
|
||||
is_indexing: stats.is_indexing,
|
||||
field_distribution: stats.inner_stats.field_distribution,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn get_index_stats(
|
||||
index_scheduler: GuardedData<ActionPolicy<{ actions::STATS_GET }>, Data<IndexScheduler>>,
|
||||
index_uid: web::Path<String>,
|
||||
|
@ -229,33 +251,8 @@ pub async fn get_index_stats(
|
|||
let index_uid = IndexUid::try_from(index_uid.into_inner())?;
|
||||
analytics.publish("Stats Seen".to_string(), json!({ "per_index_uid": true }), Some(&req));
|
||||
|
||||
let stats = IndexStats::new((*index_scheduler).clone(), index_uid.into_inner())?;
|
||||
let stats = IndexStats::from(index_scheduler.index_stats(&index_uid)?);
|
||||
|
||||
debug!("returns: {:?}", stats);
|
||||
Ok(HttpResponse::Ok().json(stats))
|
||||
}
|
||||
|
||||
#[derive(Serialize, Debug)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct IndexStats {
|
||||
pub number_of_documents: u64,
|
||||
pub is_indexing: bool,
|
||||
pub field_distribution: FieldDistribution,
|
||||
}
|
||||
|
||||
impl IndexStats {
|
||||
pub fn new(
|
||||
index_scheduler: Data<IndexScheduler>,
|
||||
index_uid: String,
|
||||
) -> Result<Self, ResponseError> {
|
||||
// we check if there is currently a task processing associated with this index.
|
||||
let is_processing = index_scheduler.is_index_processing(&index_uid)?;
|
||||
let index = index_scheduler.index(&index_uid)?;
|
||||
let rtxn = index.read_txn()?;
|
||||
Ok(IndexStats {
|
||||
number_of_documents: index.number_of_documents(&rtxn)?,
|
||||
is_indexing: is_processing,
|
||||
field_distribution: index.field_distribution(&rtxn)?,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ use std::collections::BTreeMap;
|
|||
|
||||
use actix_web::web::Data;
|
||||
use actix_web::{web, HttpRequest, HttpResponse};
|
||||
use index_scheduler::{IndexScheduler, Query};
|
||||
use index_scheduler::IndexScheduler;
|
||||
use log::debug;
|
||||
use meilisearch_auth::AuthController;
|
||||
use meilisearch_types::error::ResponseError;
|
||||
|
@ -12,7 +12,6 @@ use serde::{Deserialize, Serialize};
|
|||
use serde_json::json;
|
||||
use time::OffsetDateTime;
|
||||
|
||||
use self::indexes::IndexStats;
|
||||
use crate::analytics::Analytics;
|
||||
use crate::extractors::authentication::policies::*;
|
||||
use crate::extractors::authentication::GuardedData;
|
||||
|
@ -234,7 +233,7 @@ pub struct Stats {
|
|||
pub database_size: u64,
|
||||
#[serde(serialize_with = "time::serde::rfc3339::option::serialize")]
|
||||
pub last_update: Option<OffsetDateTime>,
|
||||
pub indexes: BTreeMap<String, IndexStats>,
|
||||
pub indexes: BTreeMap<String, indexes::IndexStats>,
|
||||
}
|
||||
|
||||
async fn get_stats(
|
||||
|
@ -260,32 +259,23 @@ pub fn create_all_stats(
|
|||
let mut last_task: Option<OffsetDateTime> = None;
|
||||
let mut indexes = BTreeMap::new();
|
||||
let mut database_size = 0;
|
||||
let processing_task = index_scheduler.get_tasks_from_authorized_indexes(
|
||||
Query { statuses: Some(vec![Status::Processing]), limit: Some(1), ..Query::default() },
|
||||
filters,
|
||||
)?;
|
||||
// accumulate the size of each indexes
|
||||
let processing_index = processing_task.first().and_then(|task| task.index_uid());
|
||||
index_scheduler.try_for_each_index(|name, index| {
|
||||
if !filters.is_index_authorized(name) {
|
||||
return Ok(());
|
||||
|
||||
for index_uid in index_scheduler.index_names()? {
|
||||
// Accumulate the size of all indexes, even unauthorized ones, so
|
||||
// as to return a database_size representative of the correct database size on disk.
|
||||
// See <https://github.com/meilisearch/meilisearch/pull/3541#discussion_r1126747643> for context.
|
||||
let stats = index_scheduler.index_stats(&index_uid)?;
|
||||
database_size += stats.inner_stats.database_size;
|
||||
|
||||
if !filters.is_index_authorized(&index_uid) {
|
||||
continue;
|
||||
}
|
||||
|
||||
database_size += index.on_disk_size()?;
|
||||
|
||||
let rtxn = index.read_txn()?;
|
||||
let stats = IndexStats {
|
||||
number_of_documents: index.number_of_documents(&rtxn)?,
|
||||
is_indexing: processing_index.map_or(false, |index_name| name == index_name),
|
||||
field_distribution: index.field_distribution(&rtxn)?,
|
||||
};
|
||||
|
||||
let updated_at = index.updated_at(&rtxn)?;
|
||||
last_task = last_task.map_or(Some(updated_at), |last| Some(last.max(updated_at)));
|
||||
|
||||
indexes.insert(name.to_string(), stats);
|
||||
Ok(())
|
||||
})?;
|
||||
last_task = last_task.map_or(Some(stats.inner_stats.updated_at), |last| {
|
||||
Some(last.max(stats.inner_stats.updated_at))
|
||||
});
|
||||
indexes.insert(index_uid.to_string(), stats.into());
|
||||
}
|
||||
|
||||
database_size += index_scheduler.size()?;
|
||||
database_size += auth_controller.size()?;
|
||||
|
|
|
@ -375,10 +375,15 @@ pub fn perform_search(
|
|||
&displayed_ids,
|
||||
);
|
||||
|
||||
let mut tokenizer_buidler = TokenizerBuilder::default();
|
||||
tokenizer_buidler.create_char_map(true);
|
||||
let mut tokenizer_builder = TokenizerBuilder::default();
|
||||
tokenizer_builder.create_char_map(true);
|
||||
|
||||
let mut formatter_builder = MatcherBuilder::new(matching_words, tokenizer_buidler.build());
|
||||
let script_lang_map = index.script_language(&rtxn)?;
|
||||
if !script_lang_map.is_empty() {
|
||||
tokenizer_builder.allow_list(&script_lang_map);
|
||||
}
|
||||
|
||||
let mut formatter_builder = MatcherBuilder::new(matching_words, tokenizer_builder.build());
|
||||
formatter_builder.crop_marker(query.crop_marker);
|
||||
formatter_builder.highlight_prefix(query.highlight_pre_tag);
|
||||
formatter_builder.highlight_suffix(query.highlight_post_tag);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
mod data;
|
||||
|
||||
use meili_snap::{json_string, snapshot};
|
||||
use meilisearch::Opt;
|
||||
use serde_json::json;
|
||||
|
||||
|
@ -66,6 +67,35 @@ async fn import_dump_v1_movie_raw() {
|
|||
document,
|
||||
json!({"id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -129,6 +159,35 @@ async fn import_dump_v1_movie_with_settings() {
|
|||
document,
|
||||
json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -192,6 +251,35 @@ async fn import_dump_v1_rubygems_with_settings() {
|
|||
document,
|
||||
json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -253,6 +341,35 @@ async fn import_dump_v2_movie_raw() {
|
|||
document,
|
||||
json!({"id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -316,6 +433,35 @@ async fn import_dump_v2_movie_with_settings() {
|
|||
document,
|
||||
json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -379,6 +525,35 @@ async fn import_dump_v2_rubygems_with_settings() {
|
|||
document,
|
||||
json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -440,6 +615,35 @@ async fn import_dump_v3_movie_raw() {
|
|||
document,
|
||||
json!({"id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -503,6 +707,35 @@ async fn import_dump_v3_movie_with_settings() {
|
|||
document,
|
||||
json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -566,6 +799,35 @@ async fn import_dump_v3_rubygems_with_settings() {
|
|||
document,
|
||||
json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -627,6 +889,35 @@ async fn import_dump_v4_movie_raw() {
|
|||
document,
|
||||
json!({ "id": 10006, "title": "Wild Seven", "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "genres": ["Action", "Crime", "Drama"], "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -690,6 +981,35 @@ async fn import_dump_v4_movie_with_settings() {
|
|||
document,
|
||||
json!({ "id": 10006, "title": "Wild Seven", "genres": ["Action", "Crime", "Drama"], "overview": "In this darkly karmic vision of Arizona, a man who breathes nothing but ill will begins a noxious domino effect as quickly as an uncontrollable virus kills. As he exits Arizona State Penn after twenty-one long years, Wilson has only one thing on the brain, leveling the score with career criminal, Mackey Willis.", "poster": "https://image.tmdb.org/t/p/w500/y114dTPoqn8k2Txps4P2tI95YCS.jpg", "release_date": 1136073600})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=indexUID&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -753,6 +1073,35 @@ async fn import_dump_v4_rubygems_with_settings() {
|
|||
document,
|
||||
json!({ "name": "vortex-of-agony", "summary": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "description": "You dont need to use nodejs or go, just install this plugin. It will crash your application at random", "id": "159227", "version": "0.1.0", "total_downloads": "1007"})
|
||||
);
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=rubygems&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
@ -772,6 +1121,12 @@ async fn import_dump_v5() {
|
|||
assert_eq!(indexes["results"][1]["uid"], json!("test2"));
|
||||
assert_eq!(indexes["results"][0]["primaryKey"], json!("id"));
|
||||
|
||||
// before doing anything we're going to wait until all the tasks in the dump have finished processing
|
||||
let result = server.tasks_filter("statuses=enqueued,processing").await.0;
|
||||
for task in result["results"].as_array().unwrap() {
|
||||
server.wait_task(task["uid"].as_u64().unwrap()).await;
|
||||
}
|
||||
|
||||
let expected_stats = json!({
|
||||
"numberOfDocuments": 10,
|
||||
"isIndexing": false,
|
||||
|
@ -816,4 +1171,43 @@ async fn import_dump_v5() {
|
|||
let key = &keys["results"][0];
|
||||
|
||||
assert_eq!(key["name"], "my key");
|
||||
|
||||
// We're going to ensure that every reverse index of the task queue has been well built while importing the dump
|
||||
let (tasks, code) = server.tasks_filter("uids=0&limit=1&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("types=documentAdditionOrUpdate&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(json_string!(tasks));
|
||||
|
||||
let (tasks, code) = server.tasks_filter("statuses=succeeded&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(
|
||||
json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" })
|
||||
);
|
||||
|
||||
let (tasks, code) = server.tasks_filter("indexUids=test&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(
|
||||
json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" })
|
||||
);
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterEnqueuedAt=2021-09-05&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(
|
||||
json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" })
|
||||
);
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterStartedAt=2021-09-06&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(
|
||||
json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" })
|
||||
);
|
||||
|
||||
let (tasks, code) = server.tasks_filter("afterFinishedAt=2021-09-07&limit=1").await;
|
||||
snapshot!(code, @"200 OK");
|
||||
snapshot!(
|
||||
json_string!(tasks, { ".results[].details.dumpUid" => "[uid]", ".results[].duration" => "[duration]" , ".results[].startedAt" => "[date]" , ".results[].finishedAt" => "[date]" })
|
||||
);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.317060500S",
|
||||
"enqueuedAt": "2021-09-08T09:08:45.153219Z",
|
||||
"startedAt": "2021-09-08T09:08:45.3961665Z",
|
||||
"finishedAt": "2021-09-08T09:08:54.713227Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.090735774S",
|
||||
"enqueuedAt": "2021-09-08T09:34:16.036101Z",
|
||||
"startedAt": "2021-09-08T09:34:16.261191226Z",
|
||||
"finishedAt": "2021-09-08T09:34:25.351927Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31968
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT9.090735774S",
|
||||
"enqueuedAt": "2021-09-08T09:34:16.036101Z",
|
||||
"startedAt": "2021-09-08T09:34:16.261191226Z",
|
||||
"finishedAt": "2021-09-08T09:34:25.351927Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"genres",
|
||||
"id",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date",
|
||||
"title"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT7.288826907S",
|
||||
"enqueuedAt": "2021-09-08T09:34:40.882977Z",
|
||||
"startedAt": "2021-09-08T09:34:40.883073093Z",
|
||||
"finishedAt": "2021-09-08T09:34:48.1719Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"genres",
|
||||
"id",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date",
|
||||
"title"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT7.288826907S",
|
||||
"enqueuedAt": "2021-09-08T09:34:40.882977Z",
|
||||
"startedAt": "2021-09-08T09:34:40.883073093Z",
|
||||
"finishedAt": "2021-09-08T09:34:48.1719Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"genres",
|
||||
"id",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date",
|
||||
"title"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT7.288826907S",
|
||||
"enqueuedAt": "2021-09-08T09:34:40.882977Z",
|
||||
"startedAt": "2021-09-08T09:34:40.883073093Z",
|
||||
"finishedAt": "2021-09-08T09:34:48.1719Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"genres",
|
||||
"id",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date",
|
||||
"title"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT7.288826907S",
|
||||
"enqueuedAt": "2021-09-08T09:34:40.882977Z",
|
||||
"startedAt": "2021-09-08T09:34:40.883073093Z",
|
||||
"finishedAt": "2021-09-08T09:34:48.1719Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"genres",
|
||||
"id",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date",
|
||||
"title"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT7.288826907S",
|
||||
"enqueuedAt": "2021-09-08T09:34:40.882977Z",
|
||||
"startedAt": "2021-09-08T09:34:40.883073093Z",
|
||||
"finishedAt": "2021-09-08T09:34:48.1719Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"description",
|
||||
"id",
|
||||
"name",
|
||||
"summary",
|
||||
"total_downloads",
|
||||
"version"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"name",
|
||||
"summary"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"version"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"version"
|
||||
],
|
||||
"rankingRules": [
|
||||
"typo",
|
||||
"words",
|
||||
"fame:desc",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
"total_downloads:desc"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT0.000988440S",
|
||||
"enqueuedAt": "2021-09-08T09:26:57.317704Z",
|
||||
"startedAt": "2021-09-08T09:26:57.31809456Z",
|
||||
"finishedAt": "2021-09-08T09:26:57.319083Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT1.487793839S",
|
||||
"enqueuedAt": "2021-09-08T09:27:01.465296Z",
|
||||
"startedAt": "2021-09-08T09:28:44.882177161Z",
|
||||
"finishedAt": "2021-09-08T09:28:46.369971Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT1.487793839S",
|
||||
"enqueuedAt": "2021-09-08T09:27:01.465296Z",
|
||||
"startedAt": "2021-09-08T09:28:44.882177161Z",
|
||||
"finishedAt": "2021-09-08T09:28:46.369971Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT1.487793839S",
|
||||
"enqueuedAt": "2021-09-08T09:27:01.465296Z",
|
||||
"startedAt": "2021-09-08T09:28:44.882177161Z",
|
||||
"finishedAt": "2021-09-08T09:28:46.369971Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT1.487793839S",
|
||||
"enqueuedAt": "2021-09-08T09:27:01.465296Z",
|
||||
"startedAt": "2021-09-08T09:28:44.882177161Z",
|
||||
"finishedAt": "2021-09-08T09:28:46.369971Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT1.487793839S",
|
||||
"enqueuedAt": "2021-09-08T09:27:01.465296Z",
|
||||
"startedAt": "2021-09-08T09:28:44.882177161Z",
|
||||
"finishedAt": "2021-09-08T09:28:46.369971Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT1.487793839S",
|
||||
"enqueuedAt": "2021-09-08T09:27:01.465296Z",
|
||||
"startedAt": "2021-09-08T09:28:44.882177161Z",
|
||||
"finishedAt": "2021-09-08T09:28:46.369971Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT39.941318S",
|
||||
"enqueuedAt": "2021-09-08T08:21:14.742672Z",
|
||||
"startedAt": "2021-09-08T08:21:14.750166Z",
|
||||
"finishedAt": "2021-09-08T08:21:54.691484Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT39.941318S",
|
||||
"enqueuedAt": "2021-09-08T08:21:14.742672Z",
|
||||
"startedAt": "2021-09-08T08:21:14.750166Z",
|
||||
"finishedAt": "2021-09-08T08:21:54.691484Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"name",
|
||||
"summary",
|
||||
"description",
|
||||
"version",
|
||||
"total_downloads"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"name",
|
||||
"summary"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"version"
|
||||
],
|
||||
"rankingRules": [
|
||||
"typo",
|
||||
"words",
|
||||
"fame:desc",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
"total_downloads:desc"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT0.008886S",
|
||||
"enqueuedAt": "2021-09-08T08:40:28.660188Z",
|
||||
"startedAt": "2021-09-08T08:40:28.660766Z",
|
||||
"finishedAt": "2021-09-08T08:40:28.669652Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT39.941318S",
|
||||
"enqueuedAt": "2021-09-08T08:21:14.742672Z",
|
||||
"startedAt": "2021-09-08T08:21:14.750166Z",
|
||||
"finishedAt": "2021-09-08T08:21:54.691484Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT39.941318S",
|
||||
"enqueuedAt": "2021-09-08T08:21:14.742672Z",
|
||||
"startedAt": "2021-09-08T08:21:14.750166Z",
|
||||
"finishedAt": "2021-09-08T08:21:54.691484Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"name",
|
||||
"summary",
|
||||
"description",
|
||||
"version",
|
||||
"total_downloads"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"name",
|
||||
"summary"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"version"
|
||||
],
|
||||
"rankingRules": [
|
||||
"typo",
|
||||
"words",
|
||||
"fame:desc",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
"total_downloads:desc"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT0.008886S",
|
||||
"enqueuedAt": "2021-09-08T08:40:28.660188Z",
|
||||
"startedAt": "2021-09-08T08:40:28.660766Z",
|
||||
"finishedAt": "2021-09-08T08:40:28.669652Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT41.751156S",
|
||||
"enqueuedAt": "2021-09-08T08:30:30.550282Z",
|
||||
"startedAt": "2021-09-08T08:30:30.553012Z",
|
||||
"finishedAt": "2021-09-08T08:31:12.304168Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT39.941318S",
|
||||
"enqueuedAt": "2021-09-08T08:21:14.742672Z",
|
||||
"startedAt": "2021-09-08T08:21:14.750166Z",
|
||||
"finishedAt": "2021-09-08T08:21:54.691484Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 31944
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT39.941318S",
|
||||
"enqueuedAt": "2021-09-08T08:21:14.742672Z",
|
||||
"startedAt": "2021-09-08T08:21:14.750166Z",
|
||||
"finishedAt": "2021-09-08T08:21:54.691484Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "indexUID",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"title",
|
||||
"genres",
|
||||
"overview",
|
||||
"poster",
|
||||
"release_date"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"title",
|
||||
"overview"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"genres"
|
||||
],
|
||||
"stopWords": [
|
||||
"of",
|
||||
"the"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT37.488777S",
|
||||
"enqueuedAt": "2021-09-08T08:24:02.323444Z",
|
||||
"startedAt": "2021-09-08T08:24:02.324145Z",
|
||||
"finishedAt": "2021-09-08T08:24:39.812922Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,47 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"displayedAttributes": [
|
||||
"name",
|
||||
"summary",
|
||||
"description",
|
||||
"version",
|
||||
"total_downloads"
|
||||
],
|
||||
"searchableAttributes": [
|
||||
"name",
|
||||
"summary"
|
||||
],
|
||||
"filterableAttributes": [
|
||||
"version"
|
||||
],
|
||||
"rankingRules": [
|
||||
"typo",
|
||||
"words",
|
||||
"fame:desc",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
"total_downloads:desc"
|
||||
]
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT0.008886S",
|
||||
"enqueuedAt": "2021-09-08T08:40:28.660188Z",
|
||||
"startedAt": "2021-09-08T08:40:28.660766Z",
|
||||
"finishedAt": "2021-09-08T08:40:28.669652Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 92,
|
||||
"indexUid": "rubygems",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 1042
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT14.034672S",
|
||||
"enqueuedAt": "2021-09-08T08:40:31.390775Z",
|
||||
"startedAt": "2021-09-08T08:51:39.060642Z",
|
||||
"finishedAt": "2021-09-08T08:51:53.095314Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 92,
|
||||
"next": 91
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "test",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT0.079460S",
|
||||
"enqueuedAt": "2022-06-08T14:59:24.724025Z",
|
||||
"startedAt": "2022-06-08T14:59:24.724983Z",
|
||||
"finishedAt": "2022-06-08T14:59:24.804443Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 0,
|
||||
"next": null
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "test2",
|
||||
"status": "succeeded",
|
||||
"type": "documentAdditionOrUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"error": null,
|
||||
"duration": "PT0.076765S",
|
||||
"enqueuedAt": "2022-06-08T14:59:29.920479Z",
|
||||
"startedAt": "2022-06-08T14:59:29.921016Z",
|
||||
"finishedAt": "2022-06-08T14:59:29.997781Z"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 1,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": null,
|
||||
"status": "succeeded",
|
||||
"type": "dumpCreation",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"dumpUid": "[uid]"
|
||||
},
|
||||
"error": null,
|
||||
"duration": "[duration]",
|
||||
"enqueuedAt": "2022-06-08T15:11:40.604805Z",
|
||||
"startedAt": "[date]",
|
||||
"finishedAt": "[date]"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 4,
|
||||
"next": 3
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 2,
|
||||
"indexUid": "test",
|
||||
"status": "succeeded",
|
||||
"type": "settingsUpdate",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"typoTolerance": {
|
||||
"minWordSizeForTypos": {
|
||||
"oneTypo": 10,
|
||||
"twoTypos": 17
|
||||
}
|
||||
}
|
||||
},
|
||||
"error": null,
|
||||
"duration": "[duration]",
|
||||
"enqueuedAt": "2022-06-08T15:01:14.794184Z",
|
||||
"startedAt": "[date]",
|
||||
"finishedAt": "[date]"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 2,
|
||||
"next": 0
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": null,
|
||||
"status": "succeeded",
|
||||
"type": "dumpCreation",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"dumpUid": "[uid]"
|
||||
},
|
||||
"error": null,
|
||||
"duration": "[duration]",
|
||||
"enqueuedAt": "2022-06-08T15:11:40.604805Z",
|
||||
"startedAt": "[date]",
|
||||
"finishedAt": "[date]"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 4,
|
||||
"next": 3
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": null,
|
||||
"status": "succeeded",
|
||||
"type": "dumpCreation",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"dumpUid": "[uid]"
|
||||
},
|
||||
"error": null,
|
||||
"duration": "[duration]",
|
||||
"enqueuedAt": "2022-06-08T15:11:40.604805Z",
|
||||
"startedAt": "[date]",
|
||||
"finishedAt": "[date]"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 4,
|
||||
"next": 3
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
source: meilisearch/tests/dumps/mod.rs
|
||||
---
|
||||
{
|
||||
"results": [
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": null,
|
||||
"status": "succeeded",
|
||||
"type": "dumpCreation",
|
||||
"canceledBy": null,
|
||||
"details": {
|
||||
"dumpUid": "[uid]"
|
||||
},
|
||||
"error": null,
|
||||
"duration": "[duration]",
|
||||
"enqueuedAt": "2022-06-08T15:11:40.604805Z",
|
||||
"startedAt": "[date]",
|
||||
"finishedAt": "[date]"
|
||||
}
|
||||
],
|
||||
"limit": 1,
|
||||
"from": 4,
|
||||
"next": 3
|
||||
}
|
|
@ -14,7 +14,7 @@ async fn formatted_contain_wildcard() {
|
|||
index.add_documents(documents, None).await;
|
||||
index.wait_task(1).await;
|
||||
|
||||
index.search(json!({ "q": "pesti", "attributesToRetrieve": ["father", "mother"], "attributesToHighlight": ["father", "mother", "*"], "attributesToCrop": ["doggos"], "showMatchesPosition": true }),
|
||||
index.search(json!({ "q": "pésti", "attributesToRetrieve": ["father", "mother"], "attributesToHighlight": ["father", "mother", "*"], "attributesToCrop": ["doggos"], "showMatchesPosition": true }),
|
||||
|response, code|
|
||||
{
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
|
@ -23,7 +23,7 @@ async fn formatted_contain_wildcard() {
|
|||
json!({
|
||||
"_formatted": {
|
||||
"id": "852",
|
||||
"cattos": "<em>pesti</em>",
|
||||
"cattos": "<em>pésti</em>",
|
||||
},
|
||||
"_matchesPosition": {"cattos": [{"start": 0, "length": 5}]},
|
||||
})
|
||||
|
@ -33,13 +33,13 @@ async fn formatted_contain_wildcard() {
|
|||
.await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToRetrieve": ["*"] }), |response, code| {
|
||||
.search(json!({ "q": "pésti", "attributesToRetrieve": ["*"] }), |response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
response["hits"][0],
|
||||
json!({
|
||||
"id": 852,
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
})
|
||||
);
|
||||
})
|
||||
|
@ -47,17 +47,17 @@ async fn formatted_contain_wildcard() {
|
|||
|
||||
index
|
||||
.search(
|
||||
json!({ "q": "pesti", "attributesToRetrieve": ["*"], "attributesToHighlight": ["id"], "showMatchesPosition": true }),
|
||||
json!({ "q": "pésti", "attributesToRetrieve": ["*"], "attributesToHighlight": ["id"], "showMatchesPosition": true }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
response["hits"][0],
|
||||
json!({
|
||||
"id": 852,
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
"_formatted": {
|
||||
"id": "852",
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
},
|
||||
"_matchesPosition": {"cattos": [{"start": 0, "length": 5}]},
|
||||
})
|
||||
|
@ -68,17 +68,17 @@ async fn formatted_contain_wildcard() {
|
|||
|
||||
index
|
||||
.search(
|
||||
json!({ "q": "pesti", "attributesToRetrieve": ["*"], "attributesToCrop": ["*"] }),
|
||||
json!({ "q": "pésti", "attributesToRetrieve": ["*"], "attributesToCrop": ["*"] }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
response["hits"][0],
|
||||
json!({
|
||||
"id": 852,
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
"_formatted": {
|
||||
"id": "852",
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
}
|
||||
})
|
||||
);
|
||||
|
@ -87,16 +87,16 @@ async fn formatted_contain_wildcard() {
|
|||
.await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToCrop": ["*"] }), |response, code| {
|
||||
.search(json!({ "q": "pésti", "attributesToCrop": ["*"] }), |response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
response["hits"][0],
|
||||
json!({
|
||||
"id": 852,
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
"_formatted": {
|
||||
"id": "852",
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
}
|
||||
})
|
||||
);
|
||||
|
@ -114,7 +114,7 @@ async fn format_nested() {
|
|||
index.wait_task(0).await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToRetrieve": ["doggos"] }), |response, code| {
|
||||
.search(json!({ "q": "pésti", "attributesToRetrieve": ["doggos"] }), |response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
response["hits"][0],
|
||||
|
@ -136,7 +136,7 @@ async fn format_nested() {
|
|||
|
||||
index
|
||||
.search(
|
||||
json!({ "q": "pesti", "attributesToRetrieve": ["doggos.name"] }),
|
||||
json!({ "q": "pésti", "attributesToRetrieve": ["doggos.name"] }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
|
@ -180,7 +180,7 @@ async fn format_nested() {
|
|||
.await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToRetrieve": [], "attributesToHighlight": ["doggos.name"] }),
|
||||
.search(json!({ "q": "pésti", "attributesToRetrieve": [], "attributesToHighlight": ["doggos.name"] }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
|
@ -202,7 +202,7 @@ async fn format_nested() {
|
|||
.await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToRetrieve": [], "attributesToCrop": ["doggos.name"] }),
|
||||
.search(json!({ "q": "pésti", "attributesToRetrieve": [], "attributesToCrop": ["doggos.name"] }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
|
@ -224,7 +224,7 @@ async fn format_nested() {
|
|||
.await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToRetrieve": ["doggos.name"], "attributesToHighlight": ["doggos.age"] }),
|
||||
.search(json!({ "q": "pésti", "attributesToRetrieve": ["doggos.name"], "attributesToHighlight": ["doggos.age"] }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
|
@ -256,7 +256,7 @@ async fn format_nested() {
|
|||
.await;
|
||||
|
||||
index
|
||||
.search(json!({ "q": "pesti", "attributesToRetrieve": [], "attributesToHighlight": ["doggos.age"], "attributesToCrop": ["doggos.name"] }),
|
||||
.search(json!({ "q": "pésti", "attributesToRetrieve": [], "attributesToHighlight": ["doggos.age"], "attributesToCrop": ["doggos.name"] }),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(
|
||||
|
|
|
@ -30,7 +30,7 @@ pub(self) static DOCUMENTS: Lazy<Value> = Lazy::new(|| {
|
|||
"id": "166428",
|
||||
},
|
||||
{
|
||||
"title": "Glass",
|
||||
"title": "Gläss",
|
||||
"id": "450465",
|
||||
}
|
||||
])
|
||||
|
@ -52,7 +52,7 @@ pub(self) static NESTED_DOCUMENTS: Lazy<Value> = Lazy::new(|| {
|
|||
"age": 4,
|
||||
},
|
||||
],
|
||||
"cattos": "pesti",
|
||||
"cattos": "pésti",
|
||||
},
|
||||
{
|
||||
"id": 654,
|
||||
|
@ -142,7 +142,7 @@ async fn simple_search() {
|
|||
index.wait_task(1).await;
|
||||
|
||||
index
|
||||
.search(json!({"q": "pesti"}), |response, code| {
|
||||
.search(json!({"q": "pésti"}), |response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
assert_eq!(response["hits"].as_array().unwrap().len(), 2);
|
||||
})
|
||||
|
@ -192,6 +192,31 @@ async fn test_kanji_language_detection() {
|
|||
.await;
|
||||
}
|
||||
|
||||
#[cfg(feature = "default")]
|
||||
#[actix_rt::test]
|
||||
async fn test_thai_language() {
|
||||
let server = Server::new().await;
|
||||
let index = server.index("test");
|
||||
|
||||
// We don't need documents, the issue is on the query side only.
|
||||
let documents = json!([
|
||||
{ "id": 0, "title": "สบู่สมุนไพรดอกดาวเรือง 100 กรัม จำนวน 6 ก้อน" },
|
||||
{ "id": 1, "title": "สบู่สมุนไพรชาเขียว 100 กรัม จำนวน 6 ก้อน" },
|
||||
{ "id": 2, "title": "สบู่สมุนไพรฝางแดงผสมว่านหางจรเข้ 100 กรัม จำนวน 6 ก้อน" }
|
||||
]);
|
||||
index.add_documents(documents, None).await;
|
||||
index.wait_task(0).await;
|
||||
|
||||
index.update_settings(json!({"rankingRules": ["exactness"]})).await;
|
||||
index.wait_task(1).await;
|
||||
|
||||
index
|
||||
.search(json!({"q": "สบู"}), |response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
})
|
||||
.await;
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn search_multiple_params() {
|
||||
let server = Server::new().await;
|
||||
|
@ -225,7 +250,7 @@ async fn search_multiple_params() {
|
|||
index
|
||||
.search(
|
||||
json!({
|
||||
"q": "pesti",
|
||||
"q": "pésti",
|
||||
"attributesToCrop": ["catto:2"],
|
||||
"attributesToHighlight": ["catto"],
|
||||
"limit": 2,
|
||||
|
@ -256,7 +281,7 @@ async fn search_with_filter_string_notation() {
|
|||
index
|
||||
.search(
|
||||
json!({
|
||||
"filter": "title = Glass"
|
||||
"filter": "title = Gläss"
|
||||
}),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
|
@ -280,7 +305,7 @@ async fn search_with_filter_string_notation() {
|
|||
index
|
||||
.search(
|
||||
json!({
|
||||
"filter": "cattos = pesti"
|
||||
"filter": "cattos = pésti"
|
||||
}),
|
||||
|response, code| {
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
|
@ -318,7 +343,7 @@ async fn search_with_filter_array_notation() {
|
|||
|
||||
let (response, code) = index
|
||||
.search_post(json!({
|
||||
"filter": ["title = Glass"]
|
||||
"filter": ["title = Gläss"]
|
||||
}))
|
||||
.await;
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
|
@ -326,7 +351,7 @@ async fn search_with_filter_array_notation() {
|
|||
|
||||
let (response, code) = index
|
||||
.search_post(json!({
|
||||
"filter": [["title = Glass", "title = \"Shazam!\"", "title = \"Escape Room\""]]
|
||||
"filter": [["title = Gläss", "title = \"Shazam!\"", "title = \"Escape Room\""]]
|
||||
}))
|
||||
.await;
|
||||
assert_eq!(code, 200, "{}", response);
|
||||
|
|
|
@ -71,7 +71,7 @@ async fn simple_search_single_index() {
|
|||
"indexUid": "test",
|
||||
"hits": [
|
||||
{
|
||||
"title": "Glass",
|
||||
"title": "Gläss",
|
||||
"id": "450465"
|
||||
}
|
||||
],
|
||||
|
@ -166,7 +166,7 @@ async fn simple_search_two_indexes() {
|
|||
let (response, code) = server
|
||||
.multi_search(json!({"queries": [
|
||||
{"indexUid" : "test", "q": "glass"},
|
||||
{"indexUid": "nested", "q": "pesti"},
|
||||
{"indexUid": "nested", "q": "pésti"},
|
||||
]}))
|
||||
.await;
|
||||
snapshot!(code, @"200 OK");
|
||||
|
@ -176,7 +176,7 @@ async fn simple_search_two_indexes() {
|
|||
"indexUid": "test",
|
||||
"hits": [
|
||||
{
|
||||
"title": "Glass",
|
||||
"title": "Gläss",
|
||||
"id": "450465"
|
||||
}
|
||||
],
|
||||
|
@ -203,7 +203,7 @@ async fn simple_search_two_indexes() {
|
|||
"age": 4
|
||||
}
|
||||
],
|
||||
"cattos": "pesti"
|
||||
"cattos": "pésti"
|
||||
},
|
||||
{
|
||||
"id": 654,
|
||||
|
@ -221,7 +221,7 @@ async fn simple_search_two_indexes() {
|
|||
]
|
||||
}
|
||||
],
|
||||
"query": "pesti",
|
||||
"query": "pésti",
|
||||
"processingTimeMs": "[time]",
|
||||
"limit": 20,
|
||||
"offset": 0,
|
||||
|
@ -243,7 +243,7 @@ async fn search_one_index_doesnt_exist() {
|
|||
let (response, code) = server
|
||||
.multi_search(json!({"queries": [
|
||||
{"indexUid" : "test", "q": "glass"},
|
||||
{"indexUid": "nested", "q": "pesti"},
|
||||
{"indexUid": "nested", "q": "pésti"},
|
||||
]}))
|
||||
.await;
|
||||
snapshot!(code, @"400 Bad Request");
|
||||
|
@ -264,7 +264,7 @@ async fn search_multiple_indexes_dont_exist() {
|
|||
let (response, code) = server
|
||||
.multi_search(json!({"queries": [
|
||||
{"indexUid" : "test", "q": "glass"},
|
||||
{"indexUid": "nested", "q": "pesti"},
|
||||
{"indexUid": "nested", "q": "pésti"},
|
||||
]}))
|
||||
.await;
|
||||
snapshot!(code, @"400 Bad Request");
|
||||
|
@ -296,7 +296,7 @@ async fn search_one_query_error() {
|
|||
let (response, code) = server
|
||||
.multi_search(json!({"queries": [
|
||||
{"indexUid" : "test", "q": "glass", "facets": ["title"]},
|
||||
{"indexUid": "nested", "q": "pesti"},
|
||||
{"indexUid": "nested", "q": "pésti"},
|
||||
]}))
|
||||
.await;
|
||||
snapshot!(code, @"400 Bad Request");
|
||||
|
@ -328,7 +328,7 @@ async fn search_multiple_query_errors() {
|
|||
let (response, code) = server
|
||||
.multi_search(json!({"queries": [
|
||||
{"indexUid" : "test", "q": "glass", "facets": ["title"]},
|
||||
{"indexUid": "nested", "q": "pesti", "facets": ["doggos"]},
|
||||
{"indexUid": "nested", "q": "pésti", "facets": ["doggos"]},
|
||||
]}))
|
||||
.await;
|
||||
snapshot!(code, @"400 Bad Request");
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
use std::time::Duration;
|
||||
|
||||
use actix_rt::time::sleep;
|
||||
use meilisearch::option::ScheduleSnapshot;
|
||||
use meilisearch::Opt;
|
||||
use tokio::time::sleep;
|
||||
|
||||
use crate::common::server::default_settings;
|
||||
use crate::common::{GetAllDocumentsOptions, Server};
|
||||
|
@ -23,21 +23,20 @@ macro_rules! verify_snapshot {
|
|||
};
|
||||
let (snapshot, _) = test(snapshot.clone()).await;
|
||||
let (orig, _) = test(orig.clone()).await;
|
||||
assert_eq!(snapshot, orig);
|
||||
assert_eq!(snapshot, orig, "Got \n{}\nWhile expecting:\n{}", serde_json::to_string_pretty(&snapshot).unwrap(), serde_json::to_string_pretty(&orig).unwrap());
|
||||
}
|
||||
)*
|
||||
};
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
#[ignore] // TODO: unignore
|
||||
async fn perform_snapshot() {
|
||||
let temp = tempfile::tempdir().unwrap();
|
||||
let snapshot_dir = tempfile::tempdir().unwrap();
|
||||
|
||||
let options = Opt {
|
||||
snapshot_dir: snapshot_dir.path().to_owned(),
|
||||
schedule_snapshot: ScheduleSnapshot::Enabled(1),
|
||||
schedule_snapshot: ScheduleSnapshot::Enabled(2),
|
||||
..default_settings(temp.path())
|
||||
};
|
||||
|
||||
|
@ -61,6 +60,16 @@ async fn perform_snapshot() {
|
|||
let temp = tempfile::tempdir().unwrap();
|
||||
|
||||
let snapshot_path = snapshot_dir.path().to_owned().join("db.snapshot");
|
||||
#[cfg_attr(windows, allow(unused))]
|
||||
let snapshot_meta = std::fs::metadata(&snapshot_path).unwrap();
|
||||
|
||||
#[cfg(unix)]
|
||||
{
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
let mode = snapshot_meta.permissions().mode();
|
||||
// rwxrwxrwx
|
||||
meili_snap::snapshot!(format!("{:b}", mode), @"1000000100100100");
|
||||
}
|
||||
|
||||
let options = Opt { import_snapshot: Some(snapshot_path), ..default_settings(temp.path()) };
|
||||
|
||||
|
@ -71,7 +80,10 @@ async fn perform_snapshot() {
|
|||
// for some reason the db sizes differ. this may be due to the compaction options we have
|
||||
// set when performing the snapshot
|
||||
//server.stats(),
|
||||
server.tasks(),
|
||||
|
||||
// The original instance contains the snapshotCreation task, while the snapshotted-instance does not. For this reason we need to compare the task queue **after** the task 4
|
||||
server.tasks_filter("?from=2"),
|
||||
|
||||
server.index("test").get_all_documents(GetAllDocumentsOptions::default()),
|
||||
server.index("test").settings(),
|
||||
server.index("test1").get_all_documents(GetAllDocumentsOptions::default()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue