From 3db25153e5e3641c2fbd5e793dce359b6de326e7 Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 2 Jun 2021 17:00:58 +0200 Subject: [PATCH] fix the faceted_fields one last time --- benchmarks/benches/songs.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/benchmarks/benches/songs.rs b/benchmarks/benches/songs.rs index dea8cd605..3f2822ca3 100644 --- a/benchmarks/benches/songs.rs +++ b/benchmarks/benches/songs.rs @@ -21,14 +21,14 @@ fn base_conf(builder: &mut Settings) { builder.set_searchable_fields(searchable_fields); let faceted_fields = [ - ("released-timestamp", "number"), - ("duration-float", "number"), - ("genre", "string"), - ("country", "string"), - ("artist", "string"), + "released-timestamp", + "duration-float", + "genre", + "country", + "artist", ] .iter() - .map(|(a, b)| (a.to_string(), b.to_string())) + .map(|s| s.to_string()) .collect(); builder.set_faceted_fields(faceted_fields); }