mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +01:00
write a bunch of tests that goes through the whole compat layers
This commit is contained in:
parent
c6f4fb5f7d
commit
4bd9e4d723
@ -53,3 +53,407 @@ pub fn open(dump: impl Read) -> Result<Compat> {
|
||||
Version::V6 => Ok(v6::V6Reader::open(path)?.into()),
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub(crate) mod test {
|
||||
use std::fs::File;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn import_dump_v5() {
|
||||
let dump = File::open("tests/assets/v5.dump").unwrap();
|
||||
let mut dump = open(dump).unwrap();
|
||||
|
||||
// top level infos
|
||||
insta::assert_display_snapshot!(dump.date().unwrap(), @"2022-10-04 15:55:10.344982459 +00:00:00");
|
||||
insta::assert_display_snapshot!(dump.instance_uid().unwrap().unwrap(), @"9e15e977-f2ae-4761-943f-1eaf75fd736d");
|
||||
|
||||
// tasks
|
||||
let tasks = dump.tasks().collect::<Result<Vec<_>>>().unwrap();
|
||||
let (tasks, update_files): (Vec<_>, Vec<_>) = tasks.into_iter().unzip();
|
||||
insta::assert_json_snapshot!(tasks);
|
||||
assert_eq!(update_files.len(), 22);
|
||||
assert!(update_files[0].is_none()); // the dump creation
|
||||
assert!(update_files[1].is_some()); // the enqueued document addition
|
||||
assert!(update_files[2..].iter().all(|u| u.is_none())); // everything already processed
|
||||
|
||||
// keys
|
||||
let keys = dump.keys().collect::<Result<Vec<_>>>().unwrap();
|
||||
insta::assert_json_snapshot!(keys);
|
||||
|
||||
// indexes
|
||||
let mut indexes = dump.indexes().unwrap().collect::<Result<Vec<_>>>().unwrap();
|
||||
// the index are not ordered in any way by default
|
||||
indexes.sort_by_key(|index| index.metadata().uid.to_string());
|
||||
|
||||
let mut products = indexes.pop().unwrap();
|
||||
let mut movies = indexes.pop().unwrap();
|
||||
let mut spells = indexes.pop().unwrap();
|
||||
assert!(indexes.is_empty());
|
||||
|
||||
// products
|
||||
insta::assert_json_snapshot!(products.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "products",
|
||||
"primaryKey": "sku",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(products.settings());
|
||||
let documents = products
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
|
||||
// movies
|
||||
insta::assert_json_snapshot!(movies.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "movies",
|
||||
"primaryKey": "id",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(movies.settings());
|
||||
let documents = movies
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 200);
|
||||
insta::assert_debug_snapshot!(documents);
|
||||
|
||||
// spells
|
||||
insta::assert_json_snapshot!(spells.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "dnd_spells",
|
||||
"primaryKey": "index",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(spells.settings());
|
||||
let documents = spells
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn import_dump_v4() {
|
||||
let dump = File::open("tests/assets/v4.dump").unwrap();
|
||||
let mut dump = open(dump).unwrap();
|
||||
|
||||
// top level infos
|
||||
insta::assert_display_snapshot!(dump.date().unwrap(), @"2022-10-06 12:53:49.131989609 +00:00:00");
|
||||
insta::assert_display_snapshot!(dump.instance_uid().unwrap().unwrap(), @"9e15e977-f2ae-4761-943f-1eaf75fd736d");
|
||||
|
||||
// tasks
|
||||
let tasks = dump.tasks().collect::<Result<Vec<_>>>().unwrap();
|
||||
let (tasks, update_files): (Vec<_>, Vec<_>) = tasks.into_iter().unzip();
|
||||
insta::assert_json_snapshot!(tasks);
|
||||
assert_eq!(update_files.len(), 10);
|
||||
assert!(update_files[0].is_some()); // the enqueued document addition
|
||||
assert!(update_files[1..].iter().all(|u| u.is_none())); // everything already processed
|
||||
|
||||
// keys
|
||||
let keys = dump.keys().collect::<Result<Vec<_>>>().unwrap();
|
||||
insta::assert_json_snapshot!(keys);
|
||||
|
||||
// indexes
|
||||
let mut indexes = dump.indexes().unwrap().collect::<Result<Vec<_>>>().unwrap();
|
||||
// the index are not ordered in any way by default
|
||||
indexes.sort_by_key(|index| index.metadata().uid.to_string());
|
||||
|
||||
let mut products = indexes.pop().unwrap();
|
||||
let mut movies = indexes.pop().unwrap();
|
||||
let mut spells = indexes.pop().unwrap();
|
||||
assert!(indexes.is_empty());
|
||||
|
||||
// products
|
||||
insta::assert_json_snapshot!(products.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "products",
|
||||
"primaryKey": "sku",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(products.settings());
|
||||
let documents = products
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
|
||||
// movies
|
||||
insta::assert_json_snapshot!(movies.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "movies",
|
||||
"primaryKey": "id",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(movies.settings());
|
||||
let documents = movies
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 110);
|
||||
insta::assert_debug_snapshot!(documents);
|
||||
|
||||
// spells
|
||||
insta::assert_json_snapshot!(spells.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "dnd_spells",
|
||||
"primaryKey": "index",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(spells.settings());
|
||||
let documents = spells
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn import_dump_v3() {
|
||||
let dump = File::open("tests/assets/v3.dump").unwrap();
|
||||
let mut dump = open(dump).unwrap();
|
||||
|
||||
// top level infos
|
||||
insta::assert_display_snapshot!(dump.date().unwrap(), @"2022-10-07 11:39:03.709153554 +00:00:00");
|
||||
assert_eq!(dump.instance_uid().unwrap(), None);
|
||||
|
||||
// tasks
|
||||
let tasks = dump.tasks().collect::<Result<Vec<_>>>().unwrap();
|
||||
let (tasks, update_files): (Vec<_>, Vec<_>) = tasks.into_iter().unzip();
|
||||
insta::assert_json_snapshot!(tasks);
|
||||
assert_eq!(update_files.len(), 10);
|
||||
assert!(update_files[0].is_some()); // the enqueued document addition
|
||||
assert!(update_files[1..].iter().all(|u| u.is_none())); // everything already processed
|
||||
|
||||
// keys
|
||||
let keys = dump.keys().collect::<Result<Vec<_>>>().unwrap();
|
||||
insta::assert_json_snapshot!(keys);
|
||||
|
||||
// indexes
|
||||
let mut indexes = dump.indexes().unwrap().collect::<Result<Vec<_>>>().unwrap();
|
||||
// the index are not ordered in any way by default
|
||||
indexes.sort_by_key(|index| index.metadata().uid.to_string());
|
||||
|
||||
let mut products = indexes.pop().unwrap();
|
||||
let mut movies2 = indexes.pop().unwrap();
|
||||
let mut movies = indexes.pop().unwrap();
|
||||
let mut spells = indexes.pop().unwrap();
|
||||
assert!(indexes.is_empty());
|
||||
|
||||
// products
|
||||
insta::assert_json_snapshot!(products.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "products",
|
||||
"primaryKey": "sku",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(products.settings());
|
||||
let documents = products
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
|
||||
// movies
|
||||
insta::assert_json_snapshot!(movies.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "movies",
|
||||
"primaryKey": "id",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(movies.settings());
|
||||
let documents = movies
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 110);
|
||||
insta::assert_debug_snapshot!(documents);
|
||||
|
||||
// movies2
|
||||
insta::assert_json_snapshot!(movies2.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "movies_2",
|
||||
"primaryKey": null,
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(movies2.settings());
|
||||
let documents = movies2
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 0);
|
||||
insta::assert_debug_snapshot!(documents);
|
||||
|
||||
// spells
|
||||
insta::assert_json_snapshot!(spells.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "dnd_spells",
|
||||
"primaryKey": "index",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(spells.settings());
|
||||
let documents = spells
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn import_dump_v2() {
|
||||
let dump = File::open("tests/assets/v2.dump").unwrap();
|
||||
let mut dump = open(dump).unwrap();
|
||||
|
||||
// top level infos
|
||||
insta::assert_display_snapshot!(dump.date().unwrap(), @"2022-10-09 20:27:59.904096267 +00:00:00");
|
||||
assert_eq!(dump.instance_uid().unwrap(), None);
|
||||
|
||||
// tasks
|
||||
let tasks = dump.tasks().collect::<Result<Vec<_>>>().unwrap();
|
||||
let (tasks, update_files): (Vec<_>, Vec<_>) = tasks.into_iter().unzip();
|
||||
insta::assert_json_snapshot!(tasks);
|
||||
assert_eq!(update_files.len(), 9);
|
||||
assert!(update_files[0].is_some()); // the enqueued document addition
|
||||
assert!(update_files[1..].iter().all(|u| u.is_none())); // everything already processed
|
||||
|
||||
// keys
|
||||
let keys = dump.keys().collect::<Result<Vec<_>>>().unwrap();
|
||||
insta::assert_json_snapshot!(keys);
|
||||
|
||||
// indexes
|
||||
let mut indexes = dump.indexes().unwrap().collect::<Result<Vec<_>>>().unwrap();
|
||||
// the index are not ordered in any way by default
|
||||
indexes.sort_by_key(|index| index.metadata().uid.to_string());
|
||||
|
||||
let mut products = indexes.pop().unwrap();
|
||||
let mut movies2 = indexes.pop().unwrap();
|
||||
let mut movies = indexes.pop().unwrap();
|
||||
let mut spells = indexes.pop().unwrap();
|
||||
assert!(indexes.is_empty());
|
||||
|
||||
// products
|
||||
insta::assert_json_snapshot!(products.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "products",
|
||||
"primaryKey": "sku",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(products.settings());
|
||||
let documents = products
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
|
||||
// movies
|
||||
insta::assert_json_snapshot!(movies.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "movies",
|
||||
"primaryKey": "id",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(movies.settings());
|
||||
let documents = movies
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 110);
|
||||
insta::assert_debug_snapshot!(documents);
|
||||
|
||||
// movies2
|
||||
insta::assert_json_snapshot!(movies2.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "movies_2",
|
||||
"primaryKey": null,
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(movies2.settings());
|
||||
let documents = movies2
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 0);
|
||||
insta::assert_debug_snapshot!(documents);
|
||||
|
||||
// spells
|
||||
insta::assert_json_snapshot!(spells.metadata(), { ".createdAt" => "[now]", ".updatedAt" => "[now]" }, @r###"
|
||||
{
|
||||
"uid": "dnd_spells",
|
||||
"primaryKey": "index",
|
||||
"createdAt": "[now]",
|
||||
"updatedAt": "[now]"
|
||||
}
|
||||
"###);
|
||||
|
||||
insta::assert_debug_snapshot!(spells.settings());
|
||||
let documents = spells
|
||||
.documents()
|
||||
.unwrap()
|
||||
.collect::<Result<Vec<_>>>()
|
||||
.unwrap();
|
||||
assert_eq!(documents.len(), 10);
|
||||
insta::assert_json_snapshot!(documents);
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,34 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: movies2.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: NotSet,
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[]
|
@ -0,0 +1,34 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: spells.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: NotSet,
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,533 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"index": "acid-arrow",
|
||||
"name": "Acid Arrow",
|
||||
"desc": [
|
||||
"A shimmering green arrow streaks toward a target within range and bursts in a spray of acid. Make a ranged spell attack against the target. On a hit, the target takes 4d4 acid damage immediately and 2d4 acid damage at the end of its next turn. On a miss, the arrow splashes the target with acid for half as much of the initial damage and no damage at the end of its next turn."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, the damage (both initial and later) increases by 1d4 for each slot level above 2nd."
|
||||
],
|
||||
"range": "90 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "Powdered rhubarb leaf and an adder's stomach.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"attack_type": "ranged",
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_slot_level": {
|
||||
"2": "4d4",
|
||||
"3": "5d4",
|
||||
"4": "6d4",
|
||||
"5": "7d4",
|
||||
"6": "8d4",
|
||||
"7": "9d4",
|
||||
"8": "10d4",
|
||||
"9": "11d4"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "evocation",
|
||||
"name": "Evocation",
|
||||
"url": "/api/magic-schools/evocation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
},
|
||||
{
|
||||
"index": "land",
|
||||
"name": "Land",
|
||||
"url": "/api/subclasses/land"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-arrow"
|
||||
},
|
||||
{
|
||||
"index": "acid-splash",
|
||||
"name": "Acid Splash",
|
||||
"desc": [
|
||||
"You hurl a bubble of acid. Choose one creature within range, or choose two creatures within range that are within 5 feet of each other. A target must succeed on a dexterity saving throw or take 1d6 acid damage.",
|
||||
"This spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6)."
|
||||
],
|
||||
"range": "60 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 0,
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_character_level": {
|
||||
"1": "1d6",
|
||||
"5": "2d6",
|
||||
"11": "3d6",
|
||||
"17": "4d6"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "conjuration",
|
||||
"name": "Conjuration",
|
||||
"url": "/api/magic-schools/conjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-splash",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "dex",
|
||||
"name": "DEX",
|
||||
"url": "/api/ability-scores/dex"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "aid",
|
||||
"name": "Aid",
|
||||
"desc": [
|
||||
"Your spell bolsters your allies with toughness and resolve. Choose up to three creatures within range. Each target's hit point maximum and current hit points increase by 5 for the duration."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, a target's hit points increase by an additional 5 for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny strip of white cloth.",
|
||||
"ritual": false,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "paladin",
|
||||
"name": "Paladin",
|
||||
"url": "/api/classes/paladin"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/aid",
|
||||
"heal_at_slot_level": {
|
||||
"2": "5",
|
||||
"3": "10",
|
||||
"4": "15",
|
||||
"5": "20",
|
||||
"6": "25",
|
||||
"7": "30",
|
||||
"8": "35",
|
||||
"9": "40"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alarm",
|
||||
"name": "Alarm",
|
||||
"desc": [
|
||||
"You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a Tiny or larger creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible.",
|
||||
"A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping.",
|
||||
"An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny bell and a piece of fine silver wire.",
|
||||
"ritual": true,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alarm",
|
||||
"area_of_effect": {
|
||||
"type": "cube",
|
||||
"size": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alter-self",
|
||||
"name": "Alter Self",
|
||||
"desc": [
|
||||
"You assume a different form. When you cast the spell, choose one of the following options, the effects of which last for the duration of the spell. While the spell lasts, you can end one option as an action to gain the benefits of a different one.",
|
||||
"***Aquatic Adaptation.*** You adapt your body to an aquatic environment, sprouting gills and growing webbing between your fingers. You can breathe underwater and gain a swimming speed equal to your walking speed.",
|
||||
"***Change Appearance.*** You transform your appearance. You decide what you look like, including your height, weight, facial features, sound of your voice, hair length, coloration, and distinguishing characteristics, if any. You can make yourself appear as a member of another race, though none of your statistics change. You also can't appear as a creature of a different size than you, and your basic shape stays the same; if you're bipedal, you can't use this spell to become quadrupedal, for instance. At any time for the duration of the spell, you can use your action to change your appearance in this way again.",
|
||||
"***Natural Weapons.*** You grow claws, fangs, spines, horns, or a different natural weapon of your choice. Your unarmed strikes deal 1d6 bludgeoning, piercing, or slashing damage, as appropriate to the natural weapon you chose, and you are proficient with your unarmed strikes. Finally, the natural weapon is magic and you have a +1 bonus to the attack and damage rolls you make using it."
|
||||
],
|
||||
"range": "Self",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 hour",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alter-self"
|
||||
},
|
||||
{
|
||||
"index": "animal-friendship",
|
||||
"name": "Animal Friendship",
|
||||
"desc": [
|
||||
"This spell lets you convince a beast that you mean it no harm. Choose a beast that you can see within range. It must see and hear you. If the beast's Intelligence is 4 or higher, the spell fails. Otherwise, the beast must succeed on a wisdom saving throw or be charmed by you for the spell's duration. If you or one of your companions harms the target, the spells ends."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": false,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-friendship",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "wis",
|
||||
"name": "WIS",
|
||||
"url": "/api/ability-scores/wis"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "animal-messenger",
|
||||
"name": "Animal Messenger",
|
||||
"desc": [
|
||||
"By means of this spell, you use an animal to deliver a message. Choose a Tiny beast you can see within range, such as a squirrel, a blue jay, or a bat. You specify a location, which you must have visited, and a recipient who matches a general description, such as \"a man or woman dressed in the uniform of the town guard\" or \"a red-haired dwarf wearing a pointed hat.\" You also speak a message of up to twenty-five words. The target beast travels for the duration of the spell toward the specified location, covering about 50 miles per 24 hours for a flying messenger, or 25 miles for other animals.",
|
||||
"When the messenger arrives, it delivers your message to the creature that you described, replicating the sound of your voice. The messenger speaks only to a creature matching the description you gave. If the messenger doesn't reach its destination before the spell ends, the message is lost, and the beast makes its way back to where you cast this spell."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 3nd level or higher, the duration of the spell increases by 48 hours for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": true,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animal-messenger"
|
||||
},
|
||||
{
|
||||
"index": "animal-shapes",
|
||||
"name": "Animal Shapes",
|
||||
"desc": [
|
||||
"Your magic turns others into beasts. Choose any number of willing creatures that you can see within range. You transform each target into the form of a Large or smaller beast with a challenge rating of 4 or lower. On subsequent turns, you can use your action to transform affected creatures into new forms.",
|
||||
"The transformation lasts for the duration for each target, or until the target drops to 0 hit points or dies. You can choose a different form for each target. A target's game statistics are replaced by the statistics of the chosen beast, though the target retains its alignment and Intelligence, Wisdom, and Charisma scores. The target assumes the hit points of its new form, and when it reverts to its normal form, it returns to the number of hit points it had before it transformed. If it reverts as a result of dropping to 0 hit points, any excess damage carries over to its normal form. As long as the excess damage doesn't reduce the creature's normal form to 0 hit points, it isn't knocked unconscious. The creature is limited in the actions it can perform by the nature of its new form, and it can't speak or cast spells.",
|
||||
"The target's gear melds into the new form. The target can't activate, wield, or otherwise benefit from any of its equipment."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 24 hours",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 8,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-shapes"
|
||||
},
|
||||
{
|
||||
"index": "animate-dead",
|
||||
"name": "Animate Dead",
|
||||
"desc": [
|
||||
"This spell creates an undead servant. Choose a pile of bones or a corpse of a Medium or Small humanoid within range. Your spell imbues the target with a foul mimicry of life, raising it as an undead creature. The target becomes a skeleton if you chose bones or a zombie if you chose a corpse (the DM has the creature's game statistics).",
|
||||
"On each of your turns, you can use a bonus action to mentally command any creature you made with this spell if the creature is within 60 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"The creature is under your control for 24 hours, after which it stops obeying any command you've given it. To maintain control of the creature for another 24 hours, you must cast this spell on the creature again before the current 24-hour period ends. This use of the spell reasserts your control over up to four creatures you have animated with this spell, rather than animating a new one."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 4th level or higher, you animate or reassert control over two additional undead creatures for each slot level above 3rd. Each of the creatures must come from a different corpse or pile of bones."
|
||||
],
|
||||
"range": "10 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A drop of blood, a piece of flesh, and a pinch of bone dust.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 3,
|
||||
"school": {
|
||||
"index": "necromancy",
|
||||
"name": "Necromancy",
|
||||
"url": "/api/magic-schools/necromancy"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animate-dead"
|
||||
},
|
||||
{
|
||||
"index": "animate-objects",
|
||||
"name": "Animate Objects",
|
||||
"desc": [
|
||||
"Objects come to life at your command. Choose up to ten nonmagical objects within range that are not being worn or carried. Medium targets count as two objects, Large targets count as four objects, Huge targets count as eight objects. You can't animate any object larger than Huge. Each target animates and becomes a creature under your control until the spell ends or until reduced to 0 hit points.",
|
||||
"As a bonus action, you can mentally command any creature you made with this spell if the creature is within 500 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"##### Animated Object Statistics",
|
||||
"| Size | HP | AC | Attack | Str | Dex |",
|
||||
"|---|---|---|---|---|---|",
|
||||
"| Tiny | 20 | 18 | +8 to hit, 1d4 + 4 damage | 4 | 18 |",
|
||||
"| Small | 25 | 16 | +6 to hit, 1d8 + 2 damage | 6 | 14 |",
|
||||
"| Medium | 40 | 13 | +5 to hit, 2d6 + 1 damage | 10 | 12 |",
|
||||
"| Large | 50 | 10 | +6 to hit, 2d10 + 2 damage | 14 | 10 |",
|
||||
"| Huge | 80 | 10 | +8 to hit, 2d12 + 4 damage | 18 | 6 |",
|
||||
"An animated object is a construct with AC, hit points, attacks, Strength, and Dexterity determined by its size. Its Constitution is 10 and its Intelligence and Wisdom are 3, and its Charisma is 1. Its speed is 30 feet; if the object lacks legs or other appendages it can use for locomotion, it instead has a flying speed of 30 feet and can hover. If the object is securely attached to a surface or a larger object, such as a chain bolted to a wall, its speed is 0. It has blindsight with a radius of 30 feet and is blind beyond that distance. When the animated object drops to 0 hit points, it reverts to its original object form, and any remaining damage carries over to its original object form.",
|
||||
"If you command an object to attack, it can make a single melee attack against a creature within 5 feet of it. It makes a slam attack with an attack bonus and bludgeoning damage determined by its size. The DM might rule that a specific object inflicts slashing or piercing damage based on its form."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 6th level or higher, you can animate two additional objects for each slot level above 5th."
|
||||
],
|
||||
"range": "120 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 minute",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 5,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animate-objects"
|
||||
}
|
||||
]
|
@ -0,0 +1,203 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: tasks
|
||||
---
|
||||
[
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "movies_2",
|
||||
"status": "enqueued",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"enqueuedAt": "2022-10-09T20:27:59.828915609Z"
|
||||
},
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"synonyms": {
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"phone": [
|
||||
"smartphone",
|
||||
"iphone",
|
||||
"android"
|
||||
]
|
||||
}
|
||||
},
|
||||
"duration": "PT0.078898523S",
|
||||
"enqueuedAt": "2022-10-09T20:27:22.597296237Z",
|
||||
"startedAt": "2022-10-09T20:27:22.610066114Z",
|
||||
"finishedAt": "2022-10-09T20:27:22.688964637Z"
|
||||
},
|
||||
{
|
||||
"uid": 2,
|
||||
"indexUid": "products",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "missing primary key",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.000481227S",
|
||||
"enqueuedAt": "2022-10-09T20:27:23.305963122Z",
|
||||
"startedAt": "2022-10-09T20:27:23.312497053Z",
|
||||
"finishedAt": "2022-10-09T20:27:23.31297828Z"
|
||||
},
|
||||
{
|
||||
"uid": 3,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.029524054S",
|
||||
"enqueuedAt": "2022-10-09T20:27:23.91528854Z",
|
||||
"startedAt": "2022-10-09T20:27:23.921493715Z",
|
||||
"finishedAt": "2022-10-09T20:27:23.951017769Z"
|
||||
},
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.112037333S",
|
||||
"enqueuedAt": "2022-10-09T20:27:22.075264451Z",
|
||||
"startedAt": "2022-10-09T20:27:22.085751162Z",
|
||||
"finishedAt": "2022-10-09T20:27:22.197788495Z"
|
||||
},
|
||||
{
|
||||
"uid": 5,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"rankingRules": [
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
"asc(release_date)"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.018737538S",
|
||||
"enqueuedAt": "2022-10-09T20:27:22.380218549Z",
|
||||
"startedAt": "2022-10-09T20:27:22.393023806Z",
|
||||
"finishedAt": "2022-10-09T20:27:22.411761344Z"
|
||||
},
|
||||
{
|
||||
"uid": 6,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 100
|
||||
},
|
||||
"duration": "PT2.102072319S",
|
||||
"enqueuedAt": "2022-10-09T20:27:59.817923645Z",
|
||||
"startedAt": "2022-10-09T20:27:59.829038211Z",
|
||||
"finishedAt": "2022-10-09T20:28:01.93111053Z"
|
||||
},
|
||||
{
|
||||
"uid": 7,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "missing primary key",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.079843588S",
|
||||
"enqueuedAt": "2022-10-09T20:27:24.157663206Z",
|
||||
"startedAt": "2022-10-09T20:27:24.162839906Z",
|
||||
"finishedAt": "2022-10-09T20:27:24.242683494Z"
|
||||
},
|
||||
{
|
||||
"uid": 8,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.026824533S",
|
||||
"enqueuedAt": "2022-10-09T20:27:24.283289037Z",
|
||||
"startedAt": "2022-10-09T20:27:24.285985108Z",
|
||||
"finishedAt": "2022-10-09T20:27:24.312809641Z"
|
||||
}
|
||||
]
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: keys
|
||||
---
|
||||
[]
|
@ -0,0 +1,48 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: products.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: NotSet,
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"phone": [
|
||||
"android",
|
||||
"iphone",
|
||||
"smartphone",
|
||||
],
|
||||
},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,308 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"sku": 127687,
|
||||
"name": "Duracell - AA Batteries (8-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.49,
|
||||
"upc": "041333825014",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AA size; DURALOCK Power Preserve technology; 8-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B8Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-batteries-8-pack/127687.p?id=1051384045676&skuId=127687&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1276/127687_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 150115,
|
||||
"name": "Energizer - MAX Batteries AA (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 4.99,
|
||||
"upc": "039800011329",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "4-pack AA alkaline batteries; battery tester included",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E91BP-4",
|
||||
"url": "http://www.bestbuy.com/site/energizer-max-batteries-aa-4-pack/150115.p?id=1051384046217&skuId=150115&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1501/150115_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185230,
|
||||
"name": "Duracell - C Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 8.99,
|
||||
"upc": "041333440019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; C size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1400R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-c-batteries-4-pack/185230.p?id=1051384046486&skuId=185230&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185230_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185267,
|
||||
"name": "Duracell - D Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 9.99,
|
||||
"upc": "041333430010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.99,
|
||||
"description": "Compatible with select electronic devices; D size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1300R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-d-batteries-4-pack/185267.p?id=1051384046551&skuId=185267&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185267_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 312290,
|
||||
"name": "Duracell - 9V Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.99,
|
||||
"upc": "041333216010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; alkaline chemistry; 9V size; DURALOCK Power Preserve technology; 2-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1604B2Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-9v-batteries-2-pack/312290.p?id=1051384050321&skuId=312290&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3122/312290_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 324884,
|
||||
"name": "Directed Electronics - Viper Audio Glass Break Sensor",
|
||||
"type": "HardGood",
|
||||
"price": 39.99,
|
||||
"upc": "093207005060",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat113100050015",
|
||||
"name": "Carfi Instore Only"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with Directed Electronics alarm systems; microphone and microprocessor detect and analyze intrusions; detects quiet glass breaks",
|
||||
"manufacturer": "Directed Electronics",
|
||||
"model": "506T",
|
||||
"url": "http://www.bestbuy.com/site/directed-electronics-viper-audio-glass-break-sensor/324884.p?id=1112808077651&skuId=324884&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3248/324884_rc.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 333179,
|
||||
"name": "Energizer - N Cell E90 Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.99,
|
||||
"upc": "039800013200",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208006",
|
||||
"name": "Specialty Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Alkaline batteries; 1.5V",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E90BP-2",
|
||||
"url": "http://www.bestbuy.com/site/energizer-n-cell-e90-batteries-2-pack/333179.p?id=1185268509951&skuId=333179&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3331/333179_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 346575,
|
||||
"name": "Metra - Radio Installation Dash Kit for Most 1989-2000 Ford, Lincoln & Mercury Vehicles - Black",
|
||||
"type": "HardGood",
|
||||
"price": 16.99,
|
||||
"upc": "086429002757",
|
||||
"category": [
|
||||
{
|
||||
"id": "abcat0300000",
|
||||
"name": "Car Electronics & GPS"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050023",
|
||||
"name": "Car Installation Parts & Accessories"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat331600050007",
|
||||
"name": "Car Audio Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050031",
|
||||
"name": "Deck Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050033",
|
||||
"name": "Dash Installation Kits"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with most 1989-2000 Ford, Lincoln and Mercury vehicles; snap-in TurboKit offers fast installation; spacer/trim ring; rear support bracket",
|
||||
"manufacturer": "Metra",
|
||||
"model": "99-5512",
|
||||
"url": "http://www.bestbuy.com/site/metra-radio-installation-dash-kit-for-most-1989-2000-ford-lincoln-mercury-vehicles-black/346575.p?id=1218118704590&skuId=346575&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3465/346575_rc.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 43900,
|
||||
"name": "Duracell - AAA Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333424019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AAA size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN2400B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aaa-batteries-4-pack/43900.p?id=1051384074145&skuId=43900&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4390/43900_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 48530,
|
||||
"name": "Duracell - AA 1.5V CopperTop Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333415017",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Long-lasting energy; DURALOCK Power Preserve technology; for toys, clocks, radios, games, remotes, PDAs and more",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-1-5v-coppertop-batteries-4-pack/48530.p?id=1099385268988&skuId=48530&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4853/48530_sa.jpg"
|
||||
}
|
||||
]
|
@ -0,0 +1,35 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: movies.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: NotSet,
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"exactness",
|
||||
"asc(release_date)",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
1252
dump/src/reader/snapshots/dump__reader__test__import_dump_v2-9.snap
Normal file
1252
dump/src/reader/snapshots/dump__reader__test__import_dump_v2-9.snap
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,37 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: movies2.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[]
|
@ -0,0 +1,37 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: spells.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,533 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"index": "acid-arrow",
|
||||
"name": "Acid Arrow",
|
||||
"desc": [
|
||||
"A shimmering green arrow streaks toward a target within range and bursts in a spray of acid. Make a ranged spell attack against the target. On a hit, the target takes 4d4 acid damage immediately and 2d4 acid damage at the end of its next turn. On a miss, the arrow splashes the target with acid for half as much of the initial damage and no damage at the end of its next turn."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, the damage (both initial and later) increases by 1d4 for each slot level above 2nd."
|
||||
],
|
||||
"range": "90 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "Powdered rhubarb leaf and an adder's stomach.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"attack_type": "ranged",
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_slot_level": {
|
||||
"2": "4d4",
|
||||
"3": "5d4",
|
||||
"4": "6d4",
|
||||
"5": "7d4",
|
||||
"6": "8d4",
|
||||
"7": "9d4",
|
||||
"8": "10d4",
|
||||
"9": "11d4"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "evocation",
|
||||
"name": "Evocation",
|
||||
"url": "/api/magic-schools/evocation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
},
|
||||
{
|
||||
"index": "land",
|
||||
"name": "Land",
|
||||
"url": "/api/subclasses/land"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-arrow"
|
||||
},
|
||||
{
|
||||
"index": "acid-splash",
|
||||
"name": "Acid Splash",
|
||||
"desc": [
|
||||
"You hurl a bubble of acid. Choose one creature within range, or choose two creatures within range that are within 5 feet of each other. A target must succeed on a dexterity saving throw or take 1d6 acid damage.",
|
||||
"This spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6)."
|
||||
],
|
||||
"range": "60 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 0,
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_character_level": {
|
||||
"1": "1d6",
|
||||
"5": "2d6",
|
||||
"11": "3d6",
|
||||
"17": "4d6"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "conjuration",
|
||||
"name": "Conjuration",
|
||||
"url": "/api/magic-schools/conjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-splash",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "dex",
|
||||
"name": "DEX",
|
||||
"url": "/api/ability-scores/dex"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "aid",
|
||||
"name": "Aid",
|
||||
"desc": [
|
||||
"Your spell bolsters your allies with toughness and resolve. Choose up to three creatures within range. Each target's hit point maximum and current hit points increase by 5 for the duration."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, a target's hit points increase by an additional 5 for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny strip of white cloth.",
|
||||
"ritual": false,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "paladin",
|
||||
"name": "Paladin",
|
||||
"url": "/api/classes/paladin"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/aid",
|
||||
"heal_at_slot_level": {
|
||||
"2": "5",
|
||||
"3": "10",
|
||||
"4": "15",
|
||||
"5": "20",
|
||||
"6": "25",
|
||||
"7": "30",
|
||||
"8": "35",
|
||||
"9": "40"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alarm",
|
||||
"name": "Alarm",
|
||||
"desc": [
|
||||
"You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a Tiny or larger creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible.",
|
||||
"A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping.",
|
||||
"An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny bell and a piece of fine silver wire.",
|
||||
"ritual": true,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alarm",
|
||||
"area_of_effect": {
|
||||
"type": "cube",
|
||||
"size": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alter-self",
|
||||
"name": "Alter Self",
|
||||
"desc": [
|
||||
"You assume a different form. When you cast the spell, choose one of the following options, the effects of which last for the duration of the spell. While the spell lasts, you can end one option as an action to gain the benefits of a different one.",
|
||||
"***Aquatic Adaptation.*** You adapt your body to an aquatic environment, sprouting gills and growing webbing between your fingers. You can breathe underwater and gain a swimming speed equal to your walking speed.",
|
||||
"***Change Appearance.*** You transform your appearance. You decide what you look like, including your height, weight, facial features, sound of your voice, hair length, coloration, and distinguishing characteristics, if any. You can make yourself appear as a member of another race, though none of your statistics change. You also can't appear as a creature of a different size than you, and your basic shape stays the same; if you're bipedal, you can't use this spell to become quadrupedal, for instance. At any time for the duration of the spell, you can use your action to change your appearance in this way again.",
|
||||
"***Natural Weapons.*** You grow claws, fangs, spines, horns, or a different natural weapon of your choice. Your unarmed strikes deal 1d6 bludgeoning, piercing, or slashing damage, as appropriate to the natural weapon you chose, and you are proficient with your unarmed strikes. Finally, the natural weapon is magic and you have a +1 bonus to the attack and damage rolls you make using it."
|
||||
],
|
||||
"range": "Self",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 hour",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alter-self"
|
||||
},
|
||||
{
|
||||
"index": "animal-friendship",
|
||||
"name": "Animal Friendship",
|
||||
"desc": [
|
||||
"This spell lets you convince a beast that you mean it no harm. Choose a beast that you can see within range. It must see and hear you. If the beast's Intelligence is 4 or higher, the spell fails. Otherwise, the beast must succeed on a wisdom saving throw or be charmed by you for the spell's duration. If you or one of your companions harms the target, the spells ends."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": false,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-friendship",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "wis",
|
||||
"name": "WIS",
|
||||
"url": "/api/ability-scores/wis"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "animal-messenger",
|
||||
"name": "Animal Messenger",
|
||||
"desc": [
|
||||
"By means of this spell, you use an animal to deliver a message. Choose a Tiny beast you can see within range, such as a squirrel, a blue jay, or a bat. You specify a location, which you must have visited, and a recipient who matches a general description, such as \"a man or woman dressed in the uniform of the town guard\" or \"a red-haired dwarf wearing a pointed hat.\" You also speak a message of up to twenty-five words. The target beast travels for the duration of the spell toward the specified location, covering about 50 miles per 24 hours for a flying messenger, or 25 miles for other animals.",
|
||||
"When the messenger arrives, it delivers your message to the creature that you described, replicating the sound of your voice. The messenger speaks only to a creature matching the description you gave. If the messenger doesn't reach its destination before the spell ends, the message is lost, and the beast makes its way back to where you cast this spell."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 3nd level or higher, the duration of the spell increases by 48 hours for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": true,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animal-messenger"
|
||||
},
|
||||
{
|
||||
"index": "animal-shapes",
|
||||
"name": "Animal Shapes",
|
||||
"desc": [
|
||||
"Your magic turns others into beasts. Choose any number of willing creatures that you can see within range. You transform each target into the form of a Large or smaller beast with a challenge rating of 4 or lower. On subsequent turns, you can use your action to transform affected creatures into new forms.",
|
||||
"The transformation lasts for the duration for each target, or until the target drops to 0 hit points or dies. You can choose a different form for each target. A target's game statistics are replaced by the statistics of the chosen beast, though the target retains its alignment and Intelligence, Wisdom, and Charisma scores. The target assumes the hit points of its new form, and when it reverts to its normal form, it returns to the number of hit points it had before it transformed. If it reverts as a result of dropping to 0 hit points, any excess damage carries over to its normal form. As long as the excess damage doesn't reduce the creature's normal form to 0 hit points, it isn't knocked unconscious. The creature is limited in the actions it can perform by the nature of its new form, and it can't speak or cast spells.",
|
||||
"The target's gear melds into the new form. The target can't activate, wield, or otherwise benefit from any of its equipment."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 24 hours",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 8,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-shapes"
|
||||
},
|
||||
{
|
||||
"index": "animate-dead",
|
||||
"name": "Animate Dead",
|
||||
"desc": [
|
||||
"This spell creates an undead servant. Choose a pile of bones or a corpse of a Medium or Small humanoid within range. Your spell imbues the target with a foul mimicry of life, raising it as an undead creature. The target becomes a skeleton if you chose bones or a zombie if you chose a corpse (the DM has the creature's game statistics).",
|
||||
"On each of your turns, you can use a bonus action to mentally command any creature you made with this spell if the creature is within 60 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"The creature is under your control for 24 hours, after which it stops obeying any command you've given it. To maintain control of the creature for another 24 hours, you must cast this spell on the creature again before the current 24-hour period ends. This use of the spell reasserts your control over up to four creatures you have animated with this spell, rather than animating a new one."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 4th level or higher, you animate or reassert control over two additional undead creatures for each slot level above 3rd. Each of the creatures must come from a different corpse or pile of bones."
|
||||
],
|
||||
"range": "10 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A drop of blood, a piece of flesh, and a pinch of bone dust.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 3,
|
||||
"school": {
|
||||
"index": "necromancy",
|
||||
"name": "Necromancy",
|
||||
"url": "/api/magic-schools/necromancy"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animate-dead"
|
||||
},
|
||||
{
|
||||
"index": "animate-objects",
|
||||
"name": "Animate Objects",
|
||||
"desc": [
|
||||
"Objects come to life at your command. Choose up to ten nonmagical objects within range that are not being worn or carried. Medium targets count as two objects, Large targets count as four objects, Huge targets count as eight objects. You can't animate any object larger than Huge. Each target animates and becomes a creature under your control until the spell ends or until reduced to 0 hit points.",
|
||||
"As a bonus action, you can mentally command any creature you made with this spell if the creature is within 500 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"##### Animated Object Statistics",
|
||||
"| Size | HP | AC | Attack | Str | Dex |",
|
||||
"|---|---|---|---|---|---|",
|
||||
"| Tiny | 20 | 18 | +8 to hit, 1d4 + 4 damage | 4 | 18 |",
|
||||
"| Small | 25 | 16 | +6 to hit, 1d8 + 2 damage | 6 | 14 |",
|
||||
"| Medium | 40 | 13 | +5 to hit, 2d6 + 1 damage | 10 | 12 |",
|
||||
"| Large | 50 | 10 | +6 to hit, 2d10 + 2 damage | 14 | 10 |",
|
||||
"| Huge | 80 | 10 | +8 to hit, 2d12 + 4 damage | 18 | 6 |",
|
||||
"An animated object is a construct with AC, hit points, attacks, Strength, and Dexterity determined by its size. Its Constitution is 10 and its Intelligence and Wisdom are 3, and its Charisma is 1. Its speed is 30 feet; if the object lacks legs or other appendages it can use for locomotion, it instead has a flying speed of 30 feet and can hover. If the object is securely attached to a surface or a larger object, such as a chain bolted to a wall, its speed is 0. It has blindsight with a radius of 30 feet and is blind beyond that distance. When the animated object drops to 0 hit points, it reverts to its original object form, and any remaining damage carries over to its original object form.",
|
||||
"If you command an object to attack, it can make a single melee attack against a creature within 5 feet of it. It makes a slam attack with an attack bonus and bludgeoning damage determined by its size. The DM might rule that a specific object inflicts slashing or piercing damage based on its form."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 6th level or higher, you can animate two additional objects for each slot level above 5th."
|
||||
],
|
||||
"range": "120 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 minute",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 5,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animate-objects"
|
||||
}
|
||||
]
|
@ -0,0 +1,227 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: tasks
|
||||
---
|
||||
[
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "movies_2",
|
||||
"status": "enqueued",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"enqueuedAt": "2022-10-07T11:39:03.703667164Z"
|
||||
},
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.015568342S",
|
||||
"enqueuedAt": "2022-10-07T11:38:54.004402239Z",
|
||||
"startedAt": "2022-10-07T11:38:54.011081233Z",
|
||||
"finishedAt": "2022-10-07T11:38:54.026649575Z"
|
||||
},
|
||||
{
|
||||
"uid": 2,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"filterableAttributes": [
|
||||
"genres",
|
||||
"id"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"release_date"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.013008604S",
|
||||
"enqueuedAt": "2022-10-07T11:38:54.217852146Z",
|
||||
"startedAt": "2022-10-07T11:38:54.23264073Z",
|
||||
"finishedAt": "2022-10-07T11:38:54.245649334Z"
|
||||
},
|
||||
{
|
||||
"uid": 3,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"rankingRules": [
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.002749330S",
|
||||
"enqueuedAt": "2022-10-07T11:38:54.438833927Z",
|
||||
"startedAt": "2022-10-07T11:38:54.453596791Z",
|
||||
"finishedAt": "2022-10-07T11:38:54.456346121Z"
|
||||
},
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 100
|
||||
},
|
||||
"duration": "PT0.490713265S",
|
||||
"enqueuedAt": "2022-10-07T11:39:03.695252071Z",
|
||||
"startedAt": "2022-10-07T11:39:03.698139272Z",
|
||||
"finishedAt": "2022-10-07T11:39:04.188852537Z"
|
||||
},
|
||||
{
|
||||
"uid": 5,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"synonyms": {
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"phone": [
|
||||
"smartphone",
|
||||
"iphone",
|
||||
"android"
|
||||
]
|
||||
}
|
||||
},
|
||||
"duration": "PT0.006624974S",
|
||||
"enqueuedAt": "2022-10-07T11:38:54.734594617Z",
|
||||
"startedAt": "2022-10-07T11:38:54.737274016Z",
|
||||
"finishedAt": "2022-10-07T11:38:54.74389899Z"
|
||||
},
|
||||
{
|
||||
"uid": 6,
|
||||
"indexUid": "products",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "The primary key inference process failed because the engine did not find any fields containing `id` substring in their name. If your document identifier does not contain any `id` substring, you can set the primary key of the index.",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.000092701S",
|
||||
"enqueuedAt": "2022-10-07T11:38:55.350510177Z",
|
||||
"startedAt": "2022-10-07T11:38:55.353402439Z",
|
||||
"finishedAt": "2022-10-07T11:38:55.35349514Z"
|
||||
},
|
||||
{
|
||||
"uid": 7,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.011700399S",
|
||||
"enqueuedAt": "2022-10-07T11:38:55.940610428Z",
|
||||
"startedAt": "2022-10-07T11:38:55.951485379Z",
|
||||
"finishedAt": "2022-10-07T11:38:55.963185778Z"
|
||||
},
|
||||
{
|
||||
"uid": 8,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "The primary key inference process failed because the engine did not find any fields containing `id` substring in their name. If your document identifier does not contain any `id` substring, you can set the primary key of the index.",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.000113251S",
|
||||
"enqueuedAt": "2022-10-07T11:38:56.263041061Z",
|
||||
"startedAt": "2022-10-07T11:38:56.265837882Z",
|
||||
"finishedAt": "2022-10-07T11:38:56.265951133Z"
|
||||
},
|
||||
{
|
||||
"uid": 9,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 0,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.016326830S",
|
||||
"enqueuedAt": "2022-10-07T11:38:56.501949087Z",
|
||||
"startedAt": "2022-10-07T11:38:56.504677498Z",
|
||||
"finishedAt": "2022-10-07T11:38:56.521004328Z"
|
||||
}
|
||||
]
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: keys
|
||||
---
|
||||
[]
|
@ -0,0 +1,51 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: products.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"phone": [
|
||||
"android",
|
||||
"iphone",
|
||||
"smartphone",
|
||||
],
|
||||
},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,308 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"sku": 127687,
|
||||
"name": "Duracell - AA Batteries (8-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.49,
|
||||
"upc": "041333825014",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AA size; DURALOCK Power Preserve technology; 8-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B8Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-batteries-8-pack/127687.p?id=1051384045676&skuId=127687&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1276/127687_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 150115,
|
||||
"name": "Energizer - MAX Batteries AA (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 4.99,
|
||||
"upc": "039800011329",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "4-pack AA alkaline batteries; battery tester included",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E91BP-4",
|
||||
"url": "http://www.bestbuy.com/site/energizer-max-batteries-aa-4-pack/150115.p?id=1051384046217&skuId=150115&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1501/150115_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185230,
|
||||
"name": "Duracell - C Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 8.99,
|
||||
"upc": "041333440019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; C size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1400R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-c-batteries-4-pack/185230.p?id=1051384046486&skuId=185230&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185230_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185267,
|
||||
"name": "Duracell - D Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 9.99,
|
||||
"upc": "041333430010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.99,
|
||||
"description": "Compatible with select electronic devices; D size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1300R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-d-batteries-4-pack/185267.p?id=1051384046551&skuId=185267&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185267_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 312290,
|
||||
"name": "Duracell - 9V Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.99,
|
||||
"upc": "041333216010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; alkaline chemistry; 9V size; DURALOCK Power Preserve technology; 2-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1604B2Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-9v-batteries-2-pack/312290.p?id=1051384050321&skuId=312290&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3122/312290_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 324884,
|
||||
"name": "Directed Electronics - Viper Audio Glass Break Sensor",
|
||||
"type": "HardGood",
|
||||
"price": 39.99,
|
||||
"upc": "093207005060",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat113100050015",
|
||||
"name": "Carfi Instore Only"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with Directed Electronics alarm systems; microphone and microprocessor detect and analyze intrusions; detects quiet glass breaks",
|
||||
"manufacturer": "Directed Electronics",
|
||||
"model": "506T",
|
||||
"url": "http://www.bestbuy.com/site/directed-electronics-viper-audio-glass-break-sensor/324884.p?id=1112808077651&skuId=324884&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3248/324884_rc.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 333179,
|
||||
"name": "Energizer - N Cell E90 Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.99,
|
||||
"upc": "039800013200",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208006",
|
||||
"name": "Specialty Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Alkaline batteries; 1.5V",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E90BP-2",
|
||||
"url": "http://www.bestbuy.com/site/energizer-n-cell-e90-batteries-2-pack/333179.p?id=1185268509951&skuId=333179&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3331/333179_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 346575,
|
||||
"name": "Metra - Radio Installation Dash Kit for Most 1989-2000 Ford, Lincoln & Mercury Vehicles - Black",
|
||||
"type": "HardGood",
|
||||
"price": 16.99,
|
||||
"upc": "086429002757",
|
||||
"category": [
|
||||
{
|
||||
"id": "abcat0300000",
|
||||
"name": "Car Electronics & GPS"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050023",
|
||||
"name": "Car Installation Parts & Accessories"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat331600050007",
|
||||
"name": "Car Audio Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050031",
|
||||
"name": "Deck Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050033",
|
||||
"name": "Dash Installation Kits"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with most 1989-2000 Ford, Lincoln and Mercury vehicles; snap-in TurboKit offers fast installation; spacer/trim ring; rear support bracket",
|
||||
"manufacturer": "Metra",
|
||||
"model": "99-5512",
|
||||
"url": "http://www.bestbuy.com/site/metra-radio-installation-dash-kit-for-most-1989-2000-ford-lincoln-mercury-vehicles-black/346575.p?id=1218118704590&skuId=346575&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3465/346575_rc.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 43900,
|
||||
"name": "Duracell - AAA Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333424019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AAA size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN2400B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aaa-batteries-4-pack/43900.p?id=1051384074145&skuId=43900&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4390/43900_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 48530,
|
||||
"name": "Duracell - AA 1.5V CopperTop Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333415017",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Long-lasting energy; DURALOCK Power Preserve technology; for toys, clocks, radios, games, remotes, PDAs and more",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-1-5v-coppertop-batteries-4-pack/48530.p?id=1099385268988&skuId=48530&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4853/48530_sa.jpg"
|
||||
}
|
||||
]
|
@ -0,0 +1,43 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: movies.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{
|
||||
"genres",
|
||||
"id",
|
||||
},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{
|
||||
"release_date",
|
||||
},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: NotSet,
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
1252
dump/src/reader/snapshots/dump__reader__test__import_dump_v3-9.snap
Normal file
1252
dump/src/reader/snapshots/dump__reader__test__import_dump_v3-9.snap
Normal file
File diff suppressed because it is too large
Load Diff
1252
dump/src/reader/snapshots/dump__reader__test__import_dump_v4-10.snap
Normal file
1252
dump/src/reader/snapshots/dump__reader__test__import_dump_v4-10.snap
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,59 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: spells.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: Set(
|
||||
TypoSettings {
|
||||
enabled: Set(
|
||||
true,
|
||||
),
|
||||
min_word_size_for_typos: Set(
|
||||
MinWordSizeTyposSetting {
|
||||
one_typo: Set(
|
||||
5,
|
||||
),
|
||||
two_typos: Set(
|
||||
9,
|
||||
),
|
||||
},
|
||||
),
|
||||
disable_on_words: Set(
|
||||
{},
|
||||
),
|
||||
disable_on_attributes: Set(
|
||||
{},
|
||||
),
|
||||
},
|
||||
),
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,533 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"index": "acid-arrow",
|
||||
"name": "Acid Arrow",
|
||||
"desc": [
|
||||
"A shimmering green arrow streaks toward a target within range and bursts in a spray of acid. Make a ranged spell attack against the target. On a hit, the target takes 4d4 acid damage immediately and 2d4 acid damage at the end of its next turn. On a miss, the arrow splashes the target with acid for half as much of the initial damage and no damage at the end of its next turn."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, the damage (both initial and later) increases by 1d4 for each slot level above 2nd."
|
||||
],
|
||||
"range": "90 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "Powdered rhubarb leaf and an adder's stomach.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"attack_type": "ranged",
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_slot_level": {
|
||||
"2": "4d4",
|
||||
"3": "5d4",
|
||||
"4": "6d4",
|
||||
"5": "7d4",
|
||||
"6": "8d4",
|
||||
"7": "9d4",
|
||||
"8": "10d4",
|
||||
"9": "11d4"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "evocation",
|
||||
"name": "Evocation",
|
||||
"url": "/api/magic-schools/evocation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
},
|
||||
{
|
||||
"index": "land",
|
||||
"name": "Land",
|
||||
"url": "/api/subclasses/land"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-arrow"
|
||||
},
|
||||
{
|
||||
"index": "acid-splash",
|
||||
"name": "Acid Splash",
|
||||
"desc": [
|
||||
"You hurl a bubble of acid. Choose one creature within range, or choose two creatures within range that are within 5 feet of each other. A target must succeed on a dexterity saving throw or take 1d6 acid damage.",
|
||||
"This spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6)."
|
||||
],
|
||||
"range": "60 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 0,
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_character_level": {
|
||||
"1": "1d6",
|
||||
"5": "2d6",
|
||||
"11": "3d6",
|
||||
"17": "4d6"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "conjuration",
|
||||
"name": "Conjuration",
|
||||
"url": "/api/magic-schools/conjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-splash",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "dex",
|
||||
"name": "DEX",
|
||||
"url": "/api/ability-scores/dex"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "aid",
|
||||
"name": "Aid",
|
||||
"desc": [
|
||||
"Your spell bolsters your allies with toughness and resolve. Choose up to three creatures within range. Each target's hit point maximum and current hit points increase by 5 for the duration."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, a target's hit points increase by an additional 5 for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny strip of white cloth.",
|
||||
"ritual": false,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "paladin",
|
||||
"name": "Paladin",
|
||||
"url": "/api/classes/paladin"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/aid",
|
||||
"heal_at_slot_level": {
|
||||
"2": "5",
|
||||
"3": "10",
|
||||
"4": "15",
|
||||
"5": "20",
|
||||
"6": "25",
|
||||
"7": "30",
|
||||
"8": "35",
|
||||
"9": "40"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alarm",
|
||||
"name": "Alarm",
|
||||
"desc": [
|
||||
"You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a Tiny or larger creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible.",
|
||||
"A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping.",
|
||||
"An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny bell and a piece of fine silver wire.",
|
||||
"ritual": true,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alarm",
|
||||
"area_of_effect": {
|
||||
"type": "cube",
|
||||
"size": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alter-self",
|
||||
"name": "Alter Self",
|
||||
"desc": [
|
||||
"You assume a different form. When you cast the spell, choose one of the following options, the effects of which last for the duration of the spell. While the spell lasts, you can end one option as an action to gain the benefits of a different one.",
|
||||
"***Aquatic Adaptation.*** You adapt your body to an aquatic environment, sprouting gills and growing webbing between your fingers. You can breathe underwater and gain a swimming speed equal to your walking speed.",
|
||||
"***Change Appearance.*** You transform your appearance. You decide what you look like, including your height, weight, facial features, sound of your voice, hair length, coloration, and distinguishing characteristics, if any. You can make yourself appear as a member of another race, though none of your statistics change. You also can't appear as a creature of a different size than you, and your basic shape stays the same; if you're bipedal, you can't use this spell to become quadrupedal, for instance. At any time for the duration of the spell, you can use your action to change your appearance in this way again.",
|
||||
"***Natural Weapons.*** You grow claws, fangs, spines, horns, or a different natural weapon of your choice. Your unarmed strikes deal 1d6 bludgeoning, piercing, or slashing damage, as appropriate to the natural weapon you chose, and you are proficient with your unarmed strikes. Finally, the natural weapon is magic and you have a +1 bonus to the attack and damage rolls you make using it."
|
||||
],
|
||||
"range": "Self",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 hour",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alter-self"
|
||||
},
|
||||
{
|
||||
"index": "animal-friendship",
|
||||
"name": "Animal Friendship",
|
||||
"desc": [
|
||||
"This spell lets you convince a beast that you mean it no harm. Choose a beast that you can see within range. It must see and hear you. If the beast's Intelligence is 4 or higher, the spell fails. Otherwise, the beast must succeed on a wisdom saving throw or be charmed by you for the spell's duration. If you or one of your companions harms the target, the spells ends."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": false,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-friendship",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "wis",
|
||||
"name": "WIS",
|
||||
"url": "/api/ability-scores/wis"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "animal-messenger",
|
||||
"name": "Animal Messenger",
|
||||
"desc": [
|
||||
"By means of this spell, you use an animal to deliver a message. Choose a Tiny beast you can see within range, such as a squirrel, a blue jay, or a bat. You specify a location, which you must have visited, and a recipient who matches a general description, such as \"a man or woman dressed in the uniform of the town guard\" or \"a red-haired dwarf wearing a pointed hat.\" You also speak a message of up to twenty-five words. The target beast travels for the duration of the spell toward the specified location, covering about 50 miles per 24 hours for a flying messenger, or 25 miles for other animals.",
|
||||
"When the messenger arrives, it delivers your message to the creature that you described, replicating the sound of your voice. The messenger speaks only to a creature matching the description you gave. If the messenger doesn't reach its destination before the spell ends, the message is lost, and the beast makes its way back to where you cast this spell."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 3nd level or higher, the duration of the spell increases by 48 hours for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": true,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animal-messenger"
|
||||
},
|
||||
{
|
||||
"index": "animal-shapes",
|
||||
"name": "Animal Shapes",
|
||||
"desc": [
|
||||
"Your magic turns others into beasts. Choose any number of willing creatures that you can see within range. You transform each target into the form of a Large or smaller beast with a challenge rating of 4 or lower. On subsequent turns, you can use your action to transform affected creatures into new forms.",
|
||||
"The transformation lasts for the duration for each target, or until the target drops to 0 hit points or dies. You can choose a different form for each target. A target's game statistics are replaced by the statistics of the chosen beast, though the target retains its alignment and Intelligence, Wisdom, and Charisma scores. The target assumes the hit points of its new form, and when it reverts to its normal form, it returns to the number of hit points it had before it transformed. If it reverts as a result of dropping to 0 hit points, any excess damage carries over to its normal form. As long as the excess damage doesn't reduce the creature's normal form to 0 hit points, it isn't knocked unconscious. The creature is limited in the actions it can perform by the nature of its new form, and it can't speak or cast spells.",
|
||||
"The target's gear melds into the new form. The target can't activate, wield, or otherwise benefit from any of its equipment."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 24 hours",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 8,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-shapes"
|
||||
},
|
||||
{
|
||||
"index": "animate-dead",
|
||||
"name": "Animate Dead",
|
||||
"desc": [
|
||||
"This spell creates an undead servant. Choose a pile of bones or a corpse of a Medium or Small humanoid within range. Your spell imbues the target with a foul mimicry of life, raising it as an undead creature. The target becomes a skeleton if you chose bones or a zombie if you chose a corpse (the DM has the creature's game statistics).",
|
||||
"On each of your turns, you can use a bonus action to mentally command any creature you made with this spell if the creature is within 60 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"The creature is under your control for 24 hours, after which it stops obeying any command you've given it. To maintain control of the creature for another 24 hours, you must cast this spell on the creature again before the current 24-hour period ends. This use of the spell reasserts your control over up to four creatures you have animated with this spell, rather than animating a new one."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 4th level or higher, you animate or reassert control over two additional undead creatures for each slot level above 3rd. Each of the creatures must come from a different corpse or pile of bones."
|
||||
],
|
||||
"range": "10 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A drop of blood, a piece of flesh, and a pinch of bone dust.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 3,
|
||||
"school": {
|
||||
"index": "necromancy",
|
||||
"name": "Necromancy",
|
||||
"url": "/api/magic-schools/necromancy"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animate-dead"
|
||||
},
|
||||
{
|
||||
"index": "animate-objects",
|
||||
"name": "Animate Objects",
|
||||
"desc": [
|
||||
"Objects come to life at your command. Choose up to ten nonmagical objects within range that are not being worn or carried. Medium targets count as two objects, Large targets count as four objects, Huge targets count as eight objects. You can't animate any object larger than Huge. Each target animates and becomes a creature under your control until the spell ends or until reduced to 0 hit points.",
|
||||
"As a bonus action, you can mentally command any creature you made with this spell if the creature is within 500 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"##### Animated Object Statistics",
|
||||
"| Size | HP | AC | Attack | Str | Dex |",
|
||||
"|---|---|---|---|---|---|",
|
||||
"| Tiny | 20 | 18 | +8 to hit, 1d4 + 4 damage | 4 | 18 |",
|
||||
"| Small | 25 | 16 | +6 to hit, 1d8 + 2 damage | 6 | 14 |",
|
||||
"| Medium | 40 | 13 | +5 to hit, 2d6 + 1 damage | 10 | 12 |",
|
||||
"| Large | 50 | 10 | +6 to hit, 2d10 + 2 damage | 14 | 10 |",
|
||||
"| Huge | 80 | 10 | +8 to hit, 2d12 + 4 damage | 18 | 6 |",
|
||||
"An animated object is a construct with AC, hit points, attacks, Strength, and Dexterity determined by its size. Its Constitution is 10 and its Intelligence and Wisdom are 3, and its Charisma is 1. Its speed is 30 feet; if the object lacks legs or other appendages it can use for locomotion, it instead has a flying speed of 30 feet and can hover. If the object is securely attached to a surface or a larger object, such as a chain bolted to a wall, its speed is 0. It has blindsight with a radius of 30 feet and is blind beyond that distance. When the animated object drops to 0 hit points, it reverts to its original object form, and any remaining damage carries over to its original object form.",
|
||||
"If you command an object to attack, it can make a single melee attack against a creature within 5 feet of it. It makes a slam attack with an attack bonus and bludgeoning damage determined by its size. The DM might rule that a specific object inflicts slashing or piercing damage based on its form."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 6th level or higher, you can animate two additional objects for each slot level above 5th."
|
||||
],
|
||||
"range": "120 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 minute",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 5,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animate-objects"
|
||||
}
|
||||
]
|
@ -0,0 +1,227 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: tasks
|
||||
---
|
||||
[
|
||||
{
|
||||
"uid": 9,
|
||||
"indexUid": "movies_2",
|
||||
"status": "enqueued",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 200,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"enqueuedAt": "2022-10-06T12:53:49.125132233Z"
|
||||
},
|
||||
{
|
||||
"uid": 8,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 100,
|
||||
"indexedDocuments": 100
|
||||
},
|
||||
"duration": "PT0.659932S",
|
||||
"enqueuedAt": "2022-10-06T12:53:49.114226973Z",
|
||||
"startedAt": "2022-10-06T12:53:49.125930546Z",
|
||||
"finishedAt": "2022-10-06T12:53:49.785862546Z"
|
||||
},
|
||||
{
|
||||
"uid": 7,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.030472225S",
|
||||
"enqueuedAt": "2022-10-06T12:53:41.070732179Z",
|
||||
"startedAt": "2022-10-06T12:53:41.085563961Z",
|
||||
"finishedAt": "2022-10-06T12:53:41.116036186Z"
|
||||
},
|
||||
{
|
||||
"uid": 6,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "The primary key inference process failed because the engine did not find any fields containing `id` substring in their name. If your document identifier does not contain any `id` substring, you can set the primary key of the index.",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.070868346S",
|
||||
"enqueuedAt": "2022-10-06T12:53:40.831649057Z",
|
||||
"startedAt": "2022-10-06T12:53:40.834516572Z",
|
||||
"finishedAt": "2022-10-06T12:53:40.905384918Z"
|
||||
},
|
||||
{
|
||||
"uid": 5,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.015439821S",
|
||||
"enqueuedAt": "2022-10-06T12:53:40.576727649Z",
|
||||
"startedAt": "2022-10-06T12:53:40.587596158Z",
|
||||
"finishedAt": "2022-10-06T12:53:40.603035979Z"
|
||||
},
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": "products",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "The primary key inference process failed because the engine did not find any fields containing `id` substring in their name. If your document identifier does not contain any `id` substring, you can set the primary key of the index.",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.003055807S",
|
||||
"enqueuedAt": "2022-10-06T12:53:39.979427178Z",
|
||||
"startedAt": "2022-10-06T12:53:39.986160113Z",
|
||||
"finishedAt": "2022-10-06T12:53:39.98921592Z"
|
||||
},
|
||||
{
|
||||
"uid": 3,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"synonyms": {
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"phone": [
|
||||
"smartphone",
|
||||
"iphone",
|
||||
"android"
|
||||
]
|
||||
}
|
||||
},
|
||||
"duration": "PT0.078589947S",
|
||||
"enqueuedAt": "2022-10-06T12:53:39.360187055Z",
|
||||
"startedAt": "2022-10-06T12:53:39.371250918Z",
|
||||
"finishedAt": "2022-10-06T12:53:39.449840865Z"
|
||||
},
|
||||
{
|
||||
"uid": 2,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"rankingRules": [
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.005458596S",
|
||||
"enqueuedAt": "2022-10-06T12:53:39.143829637Z",
|
||||
"startedAt": "2022-10-06T12:53:39.154804558Z",
|
||||
"finishedAt": "2022-10-06T12:53:39.160263154Z"
|
||||
},
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"filterableAttributes": [
|
||||
"genres",
|
||||
"id"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"release_date"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.015852918S",
|
||||
"enqueuedAt": "2022-10-06T12:53:38.922837679Z",
|
||||
"startedAt": "2022-10-06T12:53:38.937713141Z",
|
||||
"finishedAt": "2022-10-06T12:53:38.953566059Z"
|
||||
},
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.094231101S",
|
||||
"enqueuedAt": "2022-10-06T12:53:38.710611568Z",
|
||||
"startedAt": "2022-10-06T12:53:38.717456194Z",
|
||||
"finishedAt": "2022-10-06T12:53:38.811687295Z"
|
||||
}
|
||||
]
|
@ -0,0 +1,32 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: keys
|
||||
---
|
||||
[
|
||||
{
|
||||
"description": "Default Search API Key (Use it to search from the frontend)",
|
||||
"uid": "7bc06c90-ca16-4eb9-838e-2be2d17e51a9",
|
||||
"actions": [
|
||||
"search"
|
||||
],
|
||||
"indexes": [
|
||||
"*"
|
||||
],
|
||||
"expires_at": null,
|
||||
"created_at": "2022-10-06T12:53:33.424274047Z",
|
||||
"updated_at": "2022-10-06T12:53:33.424274047Z"
|
||||
},
|
||||
{
|
||||
"description": "Default Admin API Key (Use it for all other operations. Caution! Do not use it on a public frontend)",
|
||||
"uid": "ab9d6a00-7940-4278-b824-1755c98c1849",
|
||||
"actions": [
|
||||
"*"
|
||||
],
|
||||
"indexes": [
|
||||
"*"
|
||||
],
|
||||
"expires_at": null,
|
||||
"created_at": "2022-10-06T12:53:33.417707446Z",
|
||||
"updated_at": "2022-10-06T12:53:33.417707446Z"
|
||||
}
|
||||
]
|
@ -0,0 +1,73 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: products.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"phone": [
|
||||
"android",
|
||||
"iphone",
|
||||
"smartphone",
|
||||
],
|
||||
},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: Set(
|
||||
TypoSettings {
|
||||
enabled: Set(
|
||||
true,
|
||||
),
|
||||
min_word_size_for_typos: Set(
|
||||
MinWordSizeTyposSetting {
|
||||
one_typo: Set(
|
||||
5,
|
||||
),
|
||||
two_typos: Set(
|
||||
9,
|
||||
),
|
||||
},
|
||||
),
|
||||
disable_on_words: Set(
|
||||
{},
|
||||
),
|
||||
disable_on_attributes: Set(
|
||||
{},
|
||||
),
|
||||
},
|
||||
),
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,308 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"sku": 43900,
|
||||
"name": "Duracell - AAA Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333424019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AAA size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN2400B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aaa-batteries-4-pack/43900.p?id=1051384074145&skuId=43900&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4390/43900_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 48530,
|
||||
"name": "Duracell - AA 1.5V CopperTop Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333415017",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Long-lasting energy; DURALOCK Power Preserve technology; for toys, clocks, radios, games, remotes, PDAs and more",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-1-5v-coppertop-batteries-4-pack/48530.p?id=1099385268988&skuId=48530&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4853/48530_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 127687,
|
||||
"name": "Duracell - AA Batteries (8-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.49,
|
||||
"upc": "041333825014",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AA size; DURALOCK Power Preserve technology; 8-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B8Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-batteries-8-pack/127687.p?id=1051384045676&skuId=127687&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1276/127687_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 150115,
|
||||
"name": "Energizer - MAX Batteries AA (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 4.99,
|
||||
"upc": "039800011329",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "4-pack AA alkaline batteries; battery tester included",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E91BP-4",
|
||||
"url": "http://www.bestbuy.com/site/energizer-max-batteries-aa-4-pack/150115.p?id=1051384046217&skuId=150115&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1501/150115_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185230,
|
||||
"name": "Duracell - C Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 8.99,
|
||||
"upc": "041333440019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; C size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1400R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-c-batteries-4-pack/185230.p?id=1051384046486&skuId=185230&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185230_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185267,
|
||||
"name": "Duracell - D Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 9.99,
|
||||
"upc": "041333430010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.99,
|
||||
"description": "Compatible with select electronic devices; D size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1300R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-d-batteries-4-pack/185267.p?id=1051384046551&skuId=185267&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185267_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 312290,
|
||||
"name": "Duracell - 9V Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.99,
|
||||
"upc": "041333216010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; alkaline chemistry; 9V size; DURALOCK Power Preserve technology; 2-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1604B2Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-9v-batteries-2-pack/312290.p?id=1051384050321&skuId=312290&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3122/312290_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 324884,
|
||||
"name": "Directed Electronics - Viper Audio Glass Break Sensor",
|
||||
"type": "HardGood",
|
||||
"price": 39.99,
|
||||
"upc": "093207005060",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat113100050015",
|
||||
"name": "Carfi Instore Only"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with Directed Electronics alarm systems; microphone and microprocessor detect and analyze intrusions; detects quiet glass breaks",
|
||||
"manufacturer": "Directed Electronics",
|
||||
"model": "506T",
|
||||
"url": "http://www.bestbuy.com/site/directed-electronics-viper-audio-glass-break-sensor/324884.p?id=1112808077651&skuId=324884&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3248/324884_rc.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 333179,
|
||||
"name": "Energizer - N Cell E90 Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.99,
|
||||
"upc": "039800013200",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208006",
|
||||
"name": "Specialty Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Alkaline batteries; 1.5V",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E90BP-2",
|
||||
"url": "http://www.bestbuy.com/site/energizer-n-cell-e90-batteries-2-pack/333179.p?id=1185268509951&skuId=333179&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3331/333179_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 346575,
|
||||
"name": "Metra - Radio Installation Dash Kit for Most 1989-2000 Ford, Lincoln & Mercury Vehicles - Black",
|
||||
"type": "HardGood",
|
||||
"price": 16.99,
|
||||
"upc": "086429002757",
|
||||
"category": [
|
||||
{
|
||||
"id": "abcat0300000",
|
||||
"name": "Car Electronics & GPS"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050023",
|
||||
"name": "Car Installation Parts & Accessories"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat331600050007",
|
||||
"name": "Car Audio Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050031",
|
||||
"name": "Deck Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050033",
|
||||
"name": "Dash Installation Kits"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with most 1989-2000 Ford, Lincoln and Mercury vehicles; snap-in TurboKit offers fast installation; spacer/trim ring; rear support bracket",
|
||||
"manufacturer": "Metra",
|
||||
"model": "99-5512",
|
||||
"url": "http://www.bestbuy.com/site/metra-radio-installation-dash-kit-for-most-1989-2000-ford-lincoln-mercury-vehicles-black/346575.p?id=1218118704590&skuId=346575&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3465/346575_rc.jpg"
|
||||
}
|
||||
]
|
@ -0,0 +1,65 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: movies.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{
|
||||
"genres",
|
||||
"id",
|
||||
},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{
|
||||
"release_date",
|
||||
},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: Set(
|
||||
TypoSettings {
|
||||
enabled: Set(
|
||||
true,
|
||||
),
|
||||
min_word_size_for_typos: Set(
|
||||
MinWordSizeTyposSetting {
|
||||
one_typo: Set(
|
||||
5,
|
||||
),
|
||||
two_typos: Set(
|
||||
9,
|
||||
),
|
||||
},
|
||||
),
|
||||
disable_on_words: Set(
|
||||
{},
|
||||
),
|
||||
disable_on_attributes: Set(
|
||||
{},
|
||||
),
|
||||
},
|
||||
),
|
||||
faceting: NotSet,
|
||||
pagination: NotSet,
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
2263
dump/src/reader/snapshots/dump__reader__test__import_dump_v5-10.snap
Normal file
2263
dump/src/reader/snapshots/dump__reader__test__import_dump_v5-10.snap
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,71 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: spells.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: Set(
|
||||
TypoSettings {
|
||||
enabled: Set(
|
||||
true,
|
||||
),
|
||||
min_word_size_for_typos: Set(
|
||||
MinWordSizeTyposSetting {
|
||||
one_typo: Set(
|
||||
5,
|
||||
),
|
||||
two_typos: Set(
|
||||
9,
|
||||
),
|
||||
},
|
||||
),
|
||||
disable_on_words: Set(
|
||||
{},
|
||||
),
|
||||
disable_on_attributes: Set(
|
||||
{},
|
||||
),
|
||||
},
|
||||
),
|
||||
faceting: Set(
|
||||
FacetingSettings {
|
||||
max_values_per_facet: Set(
|
||||
100,
|
||||
),
|
||||
},
|
||||
),
|
||||
pagination: Set(
|
||||
PaginationSettings {
|
||||
max_total_hits: Set(
|
||||
1000,
|
||||
),
|
||||
},
|
||||
),
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,533 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"index": "acid-arrow",
|
||||
"name": "Acid Arrow",
|
||||
"desc": [
|
||||
"A shimmering green arrow streaks toward a target within range and bursts in a spray of acid. Make a ranged spell attack against the target. On a hit, the target takes 4d4 acid damage immediately and 2d4 acid damage at the end of its next turn. On a miss, the arrow splashes the target with acid for half as much of the initial damage and no damage at the end of its next turn."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, the damage (both initial and later) increases by 1d4 for each slot level above 2nd."
|
||||
],
|
||||
"range": "90 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "Powdered rhubarb leaf and an adder's stomach.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"attack_type": "ranged",
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_slot_level": {
|
||||
"2": "4d4",
|
||||
"3": "5d4",
|
||||
"4": "6d4",
|
||||
"5": "7d4",
|
||||
"6": "8d4",
|
||||
"7": "9d4",
|
||||
"8": "10d4",
|
||||
"9": "11d4"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "evocation",
|
||||
"name": "Evocation",
|
||||
"url": "/api/magic-schools/evocation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
},
|
||||
{
|
||||
"index": "land",
|
||||
"name": "Land",
|
||||
"url": "/api/subclasses/land"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-arrow"
|
||||
},
|
||||
{
|
||||
"index": "acid-splash",
|
||||
"name": "Acid Splash",
|
||||
"desc": [
|
||||
"You hurl a bubble of acid. Choose one creature within range, or choose two creatures within range that are within 5 feet of each other. A target must succeed on a dexterity saving throw or take 1d6 acid damage.",
|
||||
"This spell's damage increases by 1d6 when you reach 5th level (2d6), 11th level (3d6), and 17th level (4d6)."
|
||||
],
|
||||
"range": "60 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 0,
|
||||
"damage": {
|
||||
"damage_type": {
|
||||
"index": "acid",
|
||||
"name": "Acid",
|
||||
"url": "/api/damage-types/acid"
|
||||
},
|
||||
"damage_at_character_level": {
|
||||
"1": "1d6",
|
||||
"5": "2d6",
|
||||
"11": "3d6",
|
||||
"17": "4d6"
|
||||
}
|
||||
},
|
||||
"school": {
|
||||
"index": "conjuration",
|
||||
"name": "Conjuration",
|
||||
"url": "/api/magic-schools/conjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/acid-splash",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "dex",
|
||||
"name": "DEX",
|
||||
"url": "/api/ability-scores/dex"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "aid",
|
||||
"name": "Aid",
|
||||
"desc": [
|
||||
"Your spell bolsters your allies with toughness and resolve. Choose up to three creatures within range. Each target's hit point maximum and current hit points increase by 5 for the duration."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 3rd level or higher, a target's hit points increase by an additional 5 for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny strip of white cloth.",
|
||||
"ritual": false,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "paladin",
|
||||
"name": "Paladin",
|
||||
"url": "/api/classes/paladin"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/aid",
|
||||
"heal_at_slot_level": {
|
||||
"2": "5",
|
||||
"3": "10",
|
||||
"4": "15",
|
||||
"5": "20",
|
||||
"6": "25",
|
||||
"7": "30",
|
||||
"8": "35",
|
||||
"9": "40"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alarm",
|
||||
"name": "Alarm",
|
||||
"desc": [
|
||||
"You set an alarm against unwanted intrusion. Choose a door, a window, or an area within range that is no larger than a 20-foot cube. Until the spell ends, an alarm alerts you whenever a Tiny or larger creature touches or enters the warded area. When you cast the spell, you can designate creatures that won't set off the alarm. You also choose whether the alarm is mental or audible.",
|
||||
"A mental alarm alerts you with a ping in your mind if you are within 1 mile of the warded area. This ping awakens you if you are sleeping.",
|
||||
"An audible alarm produces the sound of a hand bell for 10 seconds within 60 feet."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A tiny bell and a piece of fine silver wire.",
|
||||
"ritual": true,
|
||||
"duration": "8 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "abjuration",
|
||||
"name": "Abjuration",
|
||||
"url": "/api/magic-schools/abjuration"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alarm",
|
||||
"area_of_effect": {
|
||||
"type": "cube",
|
||||
"size": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "alter-self",
|
||||
"name": "Alter Self",
|
||||
"desc": [
|
||||
"You assume a different form. When you cast the spell, choose one of the following options, the effects of which last for the duration of the spell. While the spell lasts, you can end one option as an action to gain the benefits of a different one.",
|
||||
"***Aquatic Adaptation.*** You adapt your body to an aquatic environment, sprouting gills and growing webbing between your fingers. You can breathe underwater and gain a swimming speed equal to your walking speed.",
|
||||
"***Change Appearance.*** You transform your appearance. You decide what you look like, including your height, weight, facial features, sound of your voice, hair length, coloration, and distinguishing characteristics, if any. You can make yourself appear as a member of another race, though none of your statistics change. You also can't appear as a creature of a different size than you, and your basic shape stays the same; if you're bipedal, you can't use this spell to become quadrupedal, for instance. At any time for the duration of the spell, you can use your action to change your appearance in this way again.",
|
||||
"***Natural Weapons.*** You grow claws, fangs, spines, horns, or a different natural weapon of your choice. Your unarmed strikes deal 1d6 bludgeoning, piercing, or slashing damage, as appropriate to the natural weapon you chose, and you are proficient with your unarmed strikes. Finally, the natural weapon is magic and you have a +1 bonus to the attack and damage rolls you make using it."
|
||||
],
|
||||
"range": "Self",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 hour",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/alter-self"
|
||||
},
|
||||
{
|
||||
"index": "animal-friendship",
|
||||
"name": "Animal Friendship",
|
||||
"desc": [
|
||||
"This spell lets you convince a beast that you mean it no harm. Choose a beast that you can see within range. It must see and hear you. If the beast's Intelligence is 4 or higher, the spell fails. Otherwise, the beast must succeed on a wisdom saving throw or be charmed by you for the spell's duration. If you or one of your companions harms the target, the spells ends."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": false,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 1,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-friendship",
|
||||
"dc": {
|
||||
"dc_type": {
|
||||
"index": "wis",
|
||||
"name": "WIS",
|
||||
"url": "/api/ability-scores/wis"
|
||||
},
|
||||
"dc_success": "none"
|
||||
}
|
||||
},
|
||||
{
|
||||
"index": "animal-messenger",
|
||||
"name": "Animal Messenger",
|
||||
"desc": [
|
||||
"By means of this spell, you use an animal to deliver a message. Choose a Tiny beast you can see within range, such as a squirrel, a blue jay, or a bat. You specify a location, which you must have visited, and a recipient who matches a general description, such as \"a man or woman dressed in the uniform of the town guard\" or \"a red-haired dwarf wearing a pointed hat.\" You also speak a message of up to twenty-five words. The target beast travels for the duration of the spell toward the specified location, covering about 50 miles per 24 hours for a flying messenger, or 25 miles for other animals.",
|
||||
"When the messenger arrives, it delivers your message to the creature that you described, replicating the sound of your voice. The messenger speaks only to a creature matching the description you gave. If the messenger doesn't reach its destination before the spell ends, the message is lost, and the beast makes its way back to where you cast this spell."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 3nd level or higher, the duration of the spell increases by 48 hours for each slot level above 2nd."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A morsel of food.",
|
||||
"ritual": true,
|
||||
"duration": "24 hours",
|
||||
"concentration": false,
|
||||
"casting_time": "1 action",
|
||||
"level": 2,
|
||||
"school": {
|
||||
"index": "enchantment",
|
||||
"name": "Enchantment",
|
||||
"url": "/api/magic-schools/enchantment"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
},
|
||||
{
|
||||
"index": "ranger",
|
||||
"name": "Ranger",
|
||||
"url": "/api/classes/ranger"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animal-messenger"
|
||||
},
|
||||
{
|
||||
"index": "animal-shapes",
|
||||
"name": "Animal Shapes",
|
||||
"desc": [
|
||||
"Your magic turns others into beasts. Choose any number of willing creatures that you can see within range. You transform each target into the form of a Large or smaller beast with a challenge rating of 4 or lower. On subsequent turns, you can use your action to transform affected creatures into new forms.",
|
||||
"The transformation lasts for the duration for each target, or until the target drops to 0 hit points or dies. You can choose a different form for each target. A target's game statistics are replaced by the statistics of the chosen beast, though the target retains its alignment and Intelligence, Wisdom, and Charisma scores. The target assumes the hit points of its new form, and when it reverts to its normal form, it returns to the number of hit points it had before it transformed. If it reverts as a result of dropping to 0 hit points, any excess damage carries over to its normal form. As long as the excess damage doesn't reduce the creature's normal form to 0 hit points, it isn't knocked unconscious. The creature is limited in the actions it can perform by the nature of its new form, and it can't speak or cast spells.",
|
||||
"The target's gear melds into the new form. The target can't activate, wield, or otherwise benefit from any of its equipment."
|
||||
],
|
||||
"range": "30 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 24 hours",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 8,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "druid",
|
||||
"name": "Druid",
|
||||
"url": "/api/classes/druid"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animal-shapes"
|
||||
},
|
||||
{
|
||||
"index": "animate-dead",
|
||||
"name": "Animate Dead",
|
||||
"desc": [
|
||||
"This spell creates an undead servant. Choose a pile of bones or a corpse of a Medium or Small humanoid within range. Your spell imbues the target with a foul mimicry of life, raising it as an undead creature. The target becomes a skeleton if you chose bones or a zombie if you chose a corpse (the DM has the creature's game statistics).",
|
||||
"On each of your turns, you can use a bonus action to mentally command any creature you made with this spell if the creature is within 60 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"The creature is under your control for 24 hours, after which it stops obeying any command you've given it. To maintain control of the creature for another 24 hours, you must cast this spell on the creature again before the current 24-hour period ends. This use of the spell reasserts your control over up to four creatures you have animated with this spell, rather than animating a new one."
|
||||
],
|
||||
"higher_level": [
|
||||
"When you cast this spell using a spell slot of 4th level or higher, you animate or reassert control over two additional undead creatures for each slot level above 3rd. Each of the creatures must come from a different corpse or pile of bones."
|
||||
],
|
||||
"range": "10 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S",
|
||||
"M"
|
||||
],
|
||||
"material": "A drop of blood, a piece of flesh, and a pinch of bone dust.",
|
||||
"ritual": false,
|
||||
"duration": "Instantaneous",
|
||||
"concentration": false,
|
||||
"casting_time": "1 minute",
|
||||
"level": 3,
|
||||
"school": {
|
||||
"index": "necromancy",
|
||||
"name": "Necromancy",
|
||||
"url": "/api/magic-schools/necromancy"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "cleric",
|
||||
"name": "Cleric",
|
||||
"url": "/api/classes/cleric"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [
|
||||
{
|
||||
"index": "lore",
|
||||
"name": "Lore",
|
||||
"url": "/api/subclasses/lore"
|
||||
}
|
||||
],
|
||||
"url": "/api/spells/animate-dead"
|
||||
},
|
||||
{
|
||||
"index": "animate-objects",
|
||||
"name": "Animate Objects",
|
||||
"desc": [
|
||||
"Objects come to life at your command. Choose up to ten nonmagical objects within range that are not being worn or carried. Medium targets count as two objects, Large targets count as four objects, Huge targets count as eight objects. You can't animate any object larger than Huge. Each target animates and becomes a creature under your control until the spell ends or until reduced to 0 hit points.",
|
||||
"As a bonus action, you can mentally command any creature you made with this spell if the creature is within 500 feet of you (if you control multiple creatures, you can command any or all of them at the same time, issuing the same command to each one). You decide what action the creature will take and where it will move during its next turn, or you can issue a general command, such as to guard a particular chamber or corridor. If you issue no commands, the creature only defends itself against hostile creatures. Once given an order, the creature continues to follow it until its task is complete.",
|
||||
"##### Animated Object Statistics",
|
||||
"| Size | HP | AC | Attack | Str | Dex |",
|
||||
"|---|---|---|---|---|---|",
|
||||
"| Tiny | 20 | 18 | +8 to hit, 1d4 + 4 damage | 4 | 18 |",
|
||||
"| Small | 25 | 16 | +6 to hit, 1d8 + 2 damage | 6 | 14 |",
|
||||
"| Medium | 40 | 13 | +5 to hit, 2d6 + 1 damage | 10 | 12 |",
|
||||
"| Large | 50 | 10 | +6 to hit, 2d10 + 2 damage | 14 | 10 |",
|
||||
"| Huge | 80 | 10 | +8 to hit, 2d12 + 4 damage | 18 | 6 |",
|
||||
"An animated object is a construct with AC, hit points, attacks, Strength, and Dexterity determined by its size. Its Constitution is 10 and its Intelligence and Wisdom are 3, and its Charisma is 1. Its speed is 30 feet; if the object lacks legs or other appendages it can use for locomotion, it instead has a flying speed of 30 feet and can hover. If the object is securely attached to a surface or a larger object, such as a chain bolted to a wall, its speed is 0. It has blindsight with a radius of 30 feet and is blind beyond that distance. When the animated object drops to 0 hit points, it reverts to its original object form, and any remaining damage carries over to its original object form.",
|
||||
"If you command an object to attack, it can make a single melee attack against a creature within 5 feet of it. It makes a slam attack with an attack bonus and bludgeoning damage determined by its size. The DM might rule that a specific object inflicts slashing or piercing damage based on its form."
|
||||
],
|
||||
"higher_level": [
|
||||
"If you cast this spell using a spell slot of 6th level or higher, you can animate two additional objects for each slot level above 5th."
|
||||
],
|
||||
"range": "120 feet",
|
||||
"components": [
|
||||
"V",
|
||||
"S"
|
||||
],
|
||||
"ritual": false,
|
||||
"duration": "Up to 1 minute",
|
||||
"concentration": true,
|
||||
"casting_time": "1 action",
|
||||
"level": 5,
|
||||
"school": {
|
||||
"index": "transmutation",
|
||||
"name": "Transmutation",
|
||||
"url": "/api/magic-schools/transmutation"
|
||||
},
|
||||
"classes": [
|
||||
{
|
||||
"index": "bard",
|
||||
"name": "Bard",
|
||||
"url": "/api/classes/bard"
|
||||
},
|
||||
{
|
||||
"index": "sorcerer",
|
||||
"name": "Sorcerer",
|
||||
"url": "/api/classes/sorcerer"
|
||||
},
|
||||
{
|
||||
"index": "wizard",
|
||||
"name": "Wizard",
|
||||
"url": "/api/classes/wizard"
|
||||
}
|
||||
],
|
||||
"subclasses": [],
|
||||
"url": "/api/spells/animate-objects"
|
||||
}
|
||||
]
|
@ -0,0 +1,463 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: tasks
|
||||
---
|
||||
[
|
||||
{
|
||||
"uid": 21,
|
||||
"indexUid": null,
|
||||
"status": "enqueued",
|
||||
"type": "dumpExport",
|
||||
"details": {
|
||||
"dumpUid": "20221004-155510279"
|
||||
},
|
||||
"enqueuedAt": "2022-10-04T15:55:10.281165892Z",
|
||||
"startedAt": "2022-10-04T15:55:10.340507253Z"
|
||||
},
|
||||
{
|
||||
"uid": 20,
|
||||
"indexUid": "movies_2",
|
||||
"status": "enqueued",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 200,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"enqueuedAt": "2022-10-04T15:55:10.272276202Z"
|
||||
},
|
||||
{
|
||||
"uid": 19,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 100,
|
||||
"indexedDocuments": 100
|
||||
},
|
||||
"duration": "PT0.062340221S",
|
||||
"enqueuedAt": "2022-10-04T15:55:10.259722791Z",
|
||||
"startedAt": "2022-10-04T15:55:10.273278199Z",
|
||||
"finishedAt": "2022-10-04T15:55:10.33561842Z"
|
||||
},
|
||||
{
|
||||
"uid": 18,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.017270771S",
|
||||
"enqueuedAt": "2022-10-04T15:55:02.364638737Z",
|
||||
"startedAt": "2022-10-04T15:55:02.37723266Z",
|
||||
"finishedAt": "2022-10-04T15:55:02.394503431Z"
|
||||
},
|
||||
{
|
||||
"uid": 17,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.017133299S",
|
||||
"enqueuedAt": "2022-10-04T15:55:02.116014762Z",
|
||||
"startedAt": "2022-10-04T15:55:02.128683566Z",
|
||||
"finishedAt": "2022-10-04T15:55:02.145816865Z"
|
||||
},
|
||||
{
|
||||
"uid": 16,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.017521995S",
|
||||
"enqueuedAt": "2022-10-04T15:55:01.867101853Z",
|
||||
"startedAt": "2022-10-04T15:55:01.879803378Z",
|
||||
"finishedAt": "2022-10-04T15:55:01.897325373Z"
|
||||
},
|
||||
{
|
||||
"uid": 15,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.011965881S",
|
||||
"enqueuedAt": "2022-10-04T15:55:01.245884922Z",
|
||||
"startedAt": "2022-10-04T15:55:01.258598227Z",
|
||||
"finishedAt": "2022-10-04T15:55:01.270564108Z"
|
||||
},
|
||||
{
|
||||
"uid": 14,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"synonyms": {
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"phone": [
|
||||
"smartphone",
|
||||
"iphone",
|
||||
"android"
|
||||
]
|
||||
}
|
||||
},
|
||||
"duration": "PT0.010776512S",
|
||||
"enqueuedAt": "2022-10-04T15:55:00.630109164Z",
|
||||
"startedAt": "2022-10-04T15:55:00.643609011Z",
|
||||
"finishedAt": "2022-10-04T15:55:00.654385523Z"
|
||||
},
|
||||
{
|
||||
"uid": 13,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"rankingRules": [
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.010692540S",
|
||||
"enqueuedAt": "2022-10-04T15:55:00.412114406Z",
|
||||
"startedAt": "2022-10-04T15:55:00.425716285Z",
|
||||
"finishedAt": "2022-10-04T15:55:00.436408825Z"
|
||||
},
|
||||
{
|
||||
"uid": 12,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"filterableAttributes": [
|
||||
"genres",
|
||||
"id"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"release_date"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.010643910S",
|
||||
"enqueuedAt": "2022-10-04T15:55:00.18896188Z",
|
||||
"startedAt": "2022-10-04T15:55:00.207804798Z",
|
||||
"finishedAt": "2022-10-04T15:55:00.218448708Z"
|
||||
},
|
||||
{
|
||||
"uid": 11,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.018142526S",
|
||||
"enqueuedAt": "2022-10-04T15:54:59.971297669Z",
|
||||
"startedAt": "2022-10-04T15:54:59.984799097Z",
|
||||
"finishedAt": "2022-10-04T15:55:00.002941623Z"
|
||||
},
|
||||
{
|
||||
"uid": 10,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 100,
|
||||
"indexedDocuments": 100
|
||||
},
|
||||
"duration": "PT0.366830299S",
|
||||
"enqueuedAt": "2022-10-04T15:51:44.147743385Z",
|
||||
"startedAt": "2022-10-04T15:51:44.458473756Z",
|
||||
"finishedAt": "2022-10-04T15:51:44.825304055Z"
|
||||
},
|
||||
{
|
||||
"uid": 9,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 90,
|
||||
"indexedDocuments": 90
|
||||
},
|
||||
"duration": "PT0.305133258S",
|
||||
"enqueuedAt": "2022-10-04T15:51:44.142779621Z",
|
||||
"startedAt": "2022-10-04T15:51:44.14805041Z",
|
||||
"finishedAt": "2022-10-04T15:51:44.453183668Z"
|
||||
},
|
||||
{
|
||||
"uid": 8,
|
||||
"indexUid": null,
|
||||
"status": "succeeded",
|
||||
"type": "dumpExport",
|
||||
"details": {
|
||||
"dumpUid": "20221004-155144042"
|
||||
},
|
||||
"duration": "PT0.022334966S",
|
||||
"enqueuedAt": "2022-10-04T15:51:44.042750953Z",
|
||||
"startedAt": "2022-10-04T15:51:44.056661399Z",
|
||||
"finishedAt": "2022-10-04T15:51:44.078996365Z"
|
||||
},
|
||||
{
|
||||
"uid": 7,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.039310363S",
|
||||
"enqueuedAt": "2022-10-04T15:51:37.628596827Z",
|
||||
"startedAt": "2022-10-04T15:51:37.638650617Z",
|
||||
"finishedAt": "2022-10-04T15:51:37.67796098Z"
|
||||
},
|
||||
{
|
||||
"uid": 6,
|
||||
"indexUid": "dnd_spells",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "The primary key inference process failed because the engine did not find any fields containing `id` substring in their name. If your document identifier does not contain any `id` substring, you can set the primary key of the index.",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.128068051S",
|
||||
"enqueuedAt": "2022-10-04T15:51:37.381094632Z",
|
||||
"startedAt": "2022-10-04T15:51:37.394321835Z",
|
||||
"finishedAt": "2022-10-04T15:51:37.522389886Z"
|
||||
},
|
||||
{
|
||||
"uid": 5,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.021846888S",
|
||||
"enqueuedAt": "2022-10-04T15:51:37.132755272Z",
|
||||
"startedAt": "2022-10-04T15:51:37.146031377Z",
|
||||
"finishedAt": "2022-10-04T15:51:37.167878265Z"
|
||||
},
|
||||
{
|
||||
"uid": 4,
|
||||
"indexUid": "products",
|
||||
"status": "failed",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 0
|
||||
},
|
||||
"error": {
|
||||
"message": "The primary key inference process failed because the engine did not find any fields containing `id` substring in their name. If your document identifier does not contain any `id` substring, you can set the primary key of the index.",
|
||||
"code": "unretrievable_error_code",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#unretrievable_error_code"
|
||||
},
|
||||
"duration": "PT0.005439591S",
|
||||
"enqueuedAt": "2022-10-04T15:51:36.53155275Z",
|
||||
"startedAt": "2022-10-04T15:51:36.544820074Z",
|
||||
"finishedAt": "2022-10-04T15:51:36.550259665Z"
|
||||
},
|
||||
{
|
||||
"uid": 3,
|
||||
"indexUid": "products",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"synonyms": {
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone"
|
||||
],
|
||||
"phone": [
|
||||
"smartphone",
|
||||
"iphone",
|
||||
"android"
|
||||
]
|
||||
}
|
||||
},
|
||||
"duration": "PT0.135098240S",
|
||||
"enqueuedAt": "2022-10-04T15:51:35.939396731Z",
|
||||
"startedAt": "2022-10-04T15:51:35.952670314Z",
|
||||
"finishedAt": "2022-10-04T15:51:36.087768554Z"
|
||||
},
|
||||
{
|
||||
"uid": 2,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"rankingRules": [
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.010129921S",
|
||||
"enqueuedAt": "2022-10-04T15:51:35.721766758Z",
|
||||
"startedAt": "2022-10-04T15:51:35.735030412Z",
|
||||
"finishedAt": "2022-10-04T15:51:35.745160333Z"
|
||||
},
|
||||
{
|
||||
"uid": 1,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"settings": {
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"filterableAttributes": [
|
||||
"genres",
|
||||
"id"
|
||||
],
|
||||
"sortableAttributes": [
|
||||
"release_date"
|
||||
]
|
||||
},
|
||||
"duration": "PT0.022219445S",
|
||||
"enqueuedAt": "2022-10-04T15:51:35.50733827Z",
|
||||
"startedAt": "2022-10-04T15:51:35.517547002Z",
|
||||
"finishedAt": "2022-10-04T15:51:35.539766447Z"
|
||||
},
|
||||
{
|
||||
"uid": 0,
|
||||
"indexUid": "movies",
|
||||
"status": "succeeded",
|
||||
"type": {
|
||||
"documentImport": {
|
||||
"method": "ReplaceDocuments",
|
||||
"allow_index_creation": true
|
||||
}
|
||||
},
|
||||
"details": {
|
||||
"receivedDocuments": 10,
|
||||
"indexedDocuments": 10
|
||||
},
|
||||
"duration": "PT0.156616872S",
|
||||
"enqueuedAt": "2022-10-04T15:51:35.291992167Z",
|
||||
"startedAt": "2022-10-04T15:51:35.302593877Z",
|
||||
"finishedAt": "2022-10-04T15:51:35.459210749Z"
|
||||
}
|
||||
]
|
@ -0,0 +1,34 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: keys
|
||||
---
|
||||
[
|
||||
{
|
||||
"description": "Use it to search from the frontend",
|
||||
"name": "Default Search API Key",
|
||||
"uid": "192e54ae-32f8-4c61-85f5-eb2b1b255629",
|
||||
"actions": [
|
||||
"search"
|
||||
],
|
||||
"indexes": [
|
||||
"*"
|
||||
],
|
||||
"expires_at": null,
|
||||
"created_at": "2022-10-04T15:51:29.254137561Z",
|
||||
"updated_at": "2022-10-04T15:51:29.254137561Z"
|
||||
},
|
||||
{
|
||||
"description": "Use it for anything that is not a search operation. Caution! Do not expose it on a public frontend",
|
||||
"name": "Default Admin API Key",
|
||||
"uid": "292cd892-be06-452f-a90b-ef28dfc94077",
|
||||
"actions": [
|
||||
"*"
|
||||
],
|
||||
"indexes": [
|
||||
"*"
|
||||
],
|
||||
"expires_at": null,
|
||||
"created_at": "2022-10-04T15:51:29.243913218Z",
|
||||
"updated_at": "2022-10-04T15:51:29.243913218Z"
|
||||
}
|
||||
]
|
@ -0,0 +1,85 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: products.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{
|
||||
"android": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"iphone": [
|
||||
"phone",
|
||||
"smartphone",
|
||||
],
|
||||
"phone": [
|
||||
"android",
|
||||
"iphone",
|
||||
"smartphone",
|
||||
],
|
||||
},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: Set(
|
||||
TypoSettings {
|
||||
enabled: Set(
|
||||
true,
|
||||
),
|
||||
min_word_size_for_typos: Set(
|
||||
MinWordSizeTyposSetting {
|
||||
one_typo: Set(
|
||||
5,
|
||||
),
|
||||
two_typos: Set(
|
||||
9,
|
||||
),
|
||||
},
|
||||
),
|
||||
disable_on_words: Set(
|
||||
{},
|
||||
),
|
||||
disable_on_attributes: Set(
|
||||
{},
|
||||
),
|
||||
},
|
||||
),
|
||||
faceting: Set(
|
||||
FacetingSettings {
|
||||
max_values_per_facet: Set(
|
||||
100,
|
||||
),
|
||||
},
|
||||
),
|
||||
pagination: Set(
|
||||
PaginationSettings {
|
||||
max_total_hits: Set(
|
||||
1000,
|
||||
),
|
||||
},
|
||||
),
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
@ -0,0 +1,308 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: documents
|
||||
---
|
||||
[
|
||||
{
|
||||
"sku": 43900,
|
||||
"name": "Duracell - AAA Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333424019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AAA size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN2400B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aaa-batteries-4-pack/43900.p?id=1051384074145&skuId=43900&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4390/43900_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 48530,
|
||||
"name": "Duracell - AA 1.5V CopperTop Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.49,
|
||||
"upc": "041333415017",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Long-lasting energy; DURALOCK Power Preserve technology; for toys, clocks, radios, games, remotes, PDAs and more",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-1-5v-coppertop-batteries-4-pack/48530.p?id=1099385268988&skuId=48530&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/4853/48530_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 127687,
|
||||
"name": "Duracell - AA Batteries (8-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.49,
|
||||
"upc": "041333825014",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; AA size; DURALOCK Power Preserve technology; 8-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1500B8Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-aa-batteries-8-pack/127687.p?id=1051384045676&skuId=127687&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1276/127687_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 150115,
|
||||
"name": "Energizer - MAX Batteries AA (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 4.99,
|
||||
"upc": "039800011329",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "4-pack AA alkaline batteries; battery tester included",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E91BP-4",
|
||||
"url": "http://www.bestbuy.com/site/energizer-max-batteries-aa-4-pack/150115.p?id=1051384046217&skuId=150115&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1501/150115_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185230,
|
||||
"name": "Duracell - C Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 8.99,
|
||||
"upc": "041333440019",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; C size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1400R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-c-batteries-4-pack/185230.p?id=1051384046486&skuId=185230&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185230_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 185267,
|
||||
"name": "Duracell - D Batteries (4-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 9.99,
|
||||
"upc": "041333430010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.99,
|
||||
"description": "Compatible with select electronic devices; D size; DURALOCK Power Preserve technology; 4-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1300R4Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-d-batteries-4-pack/185267.p?id=1051384046551&skuId=185267&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/1852/185267_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 312290,
|
||||
"name": "Duracell - 9V Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 7.99,
|
||||
"upc": "041333216010",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208002",
|
||||
"name": "Alkaline Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Compatible with select electronic devices; alkaline chemistry; 9V size; DURALOCK Power Preserve technology; 2-pack",
|
||||
"manufacturer": "Duracell",
|
||||
"model": "MN1604B2Z",
|
||||
"url": "http://www.bestbuy.com/site/duracell-9v-batteries-2-pack/312290.p?id=1051384050321&skuId=312290&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3122/312290_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 324884,
|
||||
"name": "Directed Electronics - Viper Audio Glass Break Sensor",
|
||||
"type": "HardGood",
|
||||
"price": 39.99,
|
||||
"upc": "093207005060",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat113100050015",
|
||||
"name": "Carfi Instore Only"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with Directed Electronics alarm systems; microphone and microprocessor detect and analyze intrusions; detects quiet glass breaks",
|
||||
"manufacturer": "Directed Electronics",
|
||||
"model": "506T",
|
||||
"url": "http://www.bestbuy.com/site/directed-electronics-viper-audio-glass-break-sensor/324884.p?id=1112808077651&skuId=324884&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3248/324884_rc.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 333179,
|
||||
"name": "Energizer - N Cell E90 Batteries (2-Pack)",
|
||||
"type": "HardGood",
|
||||
"price": 5.99,
|
||||
"upc": "039800013200",
|
||||
"category": [
|
||||
{
|
||||
"id": "pcmcat312300050015",
|
||||
"name": "Connected Home & Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat248700050021",
|
||||
"name": "Housewares"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat303600050001",
|
||||
"name": "Household Batteries"
|
||||
},
|
||||
{
|
||||
"id": "abcat0208006",
|
||||
"name": "Specialty Batteries"
|
||||
}
|
||||
],
|
||||
"shipping": 5.49,
|
||||
"description": "Alkaline batteries; 1.5V",
|
||||
"manufacturer": "Energizer",
|
||||
"model": "E90BP-2",
|
||||
"url": "http://www.bestbuy.com/site/energizer-n-cell-e90-batteries-2-pack/333179.p?id=1185268509951&skuId=333179&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3331/333179_sa.jpg"
|
||||
},
|
||||
{
|
||||
"sku": 346575,
|
||||
"name": "Metra - Radio Installation Dash Kit for Most 1989-2000 Ford, Lincoln & Mercury Vehicles - Black",
|
||||
"type": "HardGood",
|
||||
"price": 16.99,
|
||||
"upc": "086429002757",
|
||||
"category": [
|
||||
{
|
||||
"id": "abcat0300000",
|
||||
"name": "Car Electronics & GPS"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050023",
|
||||
"name": "Car Installation Parts & Accessories"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat331600050007",
|
||||
"name": "Car Audio Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050031",
|
||||
"name": "Deck Installation Parts"
|
||||
},
|
||||
{
|
||||
"id": "pcmcat165900050033",
|
||||
"name": "Dash Installation Kits"
|
||||
}
|
||||
],
|
||||
"shipping": 0,
|
||||
"description": "From our expanded online assortment; compatible with most 1989-2000 Ford, Lincoln and Mercury vehicles; snap-in TurboKit offers fast installation; spacer/trim ring; rear support bracket",
|
||||
"manufacturer": "Metra",
|
||||
"model": "99-5512",
|
||||
"url": "http://www.bestbuy.com/site/metra-radio-installation-dash-kit-for-most-1989-2000-ford-lincoln-mercury-vehicles-black/346575.p?id=1218118704590&skuId=346575&cmp=RMXCC",
|
||||
"image": "http://img.bbystatic.com/BestBuy_US/images/products/3465/346575_rc.jpg"
|
||||
}
|
||||
]
|
@ -0,0 +1,77 @@
|
||||
---
|
||||
source: dump/src/reader/mod.rs
|
||||
expression: movies.settings()
|
||||
---
|
||||
Ok(
|
||||
Settings {
|
||||
displayed_attributes: Reset,
|
||||
searchable_attributes: Reset,
|
||||
filterable_attributes: Set(
|
||||
{
|
||||
"genres",
|
||||
"id",
|
||||
},
|
||||
),
|
||||
sortable_attributes: Set(
|
||||
{
|
||||
"release_date",
|
||||
},
|
||||
),
|
||||
ranking_rules: Set(
|
||||
[
|
||||
"words",
|
||||
"typo",
|
||||
"proximity",
|
||||
"attribute",
|
||||
"sort",
|
||||
"exactness",
|
||||
"release_date:asc",
|
||||
],
|
||||
),
|
||||
stop_words: Set(
|
||||
{},
|
||||
),
|
||||
synonyms: Set(
|
||||
{},
|
||||
),
|
||||
distinct_attribute: Reset,
|
||||
typo_tolerance: Set(
|
||||
TypoSettings {
|
||||
enabled: Set(
|
||||
true,
|
||||
),
|
||||
min_word_size_for_typos: Set(
|
||||
MinWordSizeTyposSetting {
|
||||
one_typo: Set(
|
||||
5,
|
||||
),
|
||||
two_typos: Set(
|
||||
9,
|
||||
),
|
||||
},
|
||||
),
|
||||
disable_on_words: Set(
|
||||
{},
|
||||
),
|
||||
disable_on_attributes: Set(
|
||||
{},
|
||||
),
|
||||
},
|
||||
),
|
||||
faceting: Set(
|
||||
FacetingSettings {
|
||||
max_values_per_facet: Set(
|
||||
100,
|
||||
),
|
||||
},
|
||||
),
|
||||
pagination: Set(
|
||||
PaginationSettings {
|
||||
max_total_hits: Set(
|
||||
1000,
|
||||
),
|
||||
},
|
||||
),
|
||||
_kind: PhantomData<index::updates::Checked>,
|
||||
},
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user