mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
Merge #588
588: Fix name of "release_date" facet in movies benchmarks r=ManyTheFish a=loiclec ## What does this PR do? The `movies.json` file in the benchmark datasets contains a filterable field called "release_date", but the indexing benchmarks wrongly called the field "released_date" instead. This PR fixes that. Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
This commit is contained in:
commit
f6415b679f
@ -617,7 +617,7 @@ fn indexing_movies_default(c: &mut Criterion) {
|
|||||||
move || {
|
move || {
|
||||||
let primary_key = "id";
|
let primary_key = "id";
|
||||||
let searchable_fields = ["title", "overview"];
|
let searchable_fields = ["title", "overview"];
|
||||||
let filterable_fields = ["released_date", "genres"];
|
let filterable_fields = ["release_date", "genres"];
|
||||||
let sortable_fields = [];
|
let sortable_fields = [];
|
||||||
|
|
||||||
setup_index_with_settings(
|
setup_index_with_settings(
|
||||||
@ -654,7 +654,7 @@ fn reindexing_movies_default(c: &mut Criterion) {
|
|||||||
move || {
|
move || {
|
||||||
let primary_key = "id";
|
let primary_key = "id";
|
||||||
let searchable_fields = ["title", "overview"];
|
let searchable_fields = ["title", "overview"];
|
||||||
let filterable_fields = ["released_date", "genres"];
|
let filterable_fields = ["release_date", "genres"];
|
||||||
let sortable_fields = [];
|
let sortable_fields = [];
|
||||||
|
|
||||||
let index = setup_index_with_settings(
|
let index = setup_index_with_settings(
|
||||||
@ -705,7 +705,7 @@ fn deleting_movies_in_batches_default(c: &mut Criterion) {
|
|||||||
move || {
|
move || {
|
||||||
let primary_key = "id";
|
let primary_key = "id";
|
||||||
let searchable_fields = ["title", "overview"];
|
let searchable_fields = ["title", "overview"];
|
||||||
let filterable_fields = ["released_date", "genres"];
|
let filterable_fields = ["release_date", "genres"];
|
||||||
let sortable_fields = [];
|
let sortable_fields = [];
|
||||||
|
|
||||||
let index = setup_index_with_settings(
|
let index = setup_index_with_settings(
|
||||||
@ -760,7 +760,7 @@ fn indexing_movies_in_three_batches(c: &mut Criterion) {
|
|||||||
move || {
|
move || {
|
||||||
let primary_key = "id";
|
let primary_key = "id";
|
||||||
let searchable_fields = ["title", "overview"];
|
let searchable_fields = ["title", "overview"];
|
||||||
let filterable_fields = ["released_date", "genres"];
|
let filterable_fields = ["release_date", "genres"];
|
||||||
let sortable_fields = [];
|
let sortable_fields = [];
|
||||||
|
|
||||||
let index = setup_index_with_settings(
|
let index = setup_index_with_settings(
|
||||||
|
Loading…
Reference in New Issue
Block a user