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:
bors[bot] 2022-07-18 15:51:09 +00:00 committed by GitHub
commit f6415b679f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(