Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge #588
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bors[bot] and Loïc Lecrenier authored Jul 18, 2022
2 parents ce90fc6 + 8270e2b commit f6415b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions benchmarks/benches/indexing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ fn indexing_movies_default(c: &mut Criterion) {
move || {
let primary_key = "id";
let searchable_fields = ["title", "overview"];
let filterable_fields = ["released_date", "genres"];
let filterable_fields = ["release_date", "genres"];
let sortable_fields = [];

setup_index_with_settings(
Expand Down Expand Up @@ -654,7 +654,7 @@ fn reindexing_movies_default(c: &mut Criterion) {
move || {
let primary_key = "id";
let searchable_fields = ["title", "overview"];
let filterable_fields = ["released_date", "genres"];
let filterable_fields = ["release_date", "genres"];
let sortable_fields = [];

let index = setup_index_with_settings(
Expand Down Expand Up @@ -705,7 +705,7 @@ fn deleting_movies_in_batches_default(c: &mut Criterion) {
move || {
let primary_key = "id";
let searchable_fields = ["title", "overview"];
let filterable_fields = ["released_date", "genres"];
let filterable_fields = ["release_date", "genres"];
let sortable_fields = [];

let index = setup_index_with_settings(
Expand Down Expand Up @@ -760,7 +760,7 @@ fn indexing_movies_in_three_batches(c: &mut Criterion) {
move || {
let primary_key = "id";
let searchable_fields = ["title", "overview"];
let filterable_fields = ["released_date", "genres"];
let filterable_fields = ["release_date", "genres"];
let sortable_fields = [];

let index = setup_index_with_settings(
Expand Down

0 comments on commit f6415b6

Please sign in to comment.