Skip to content

Commit

Permalink
fix searchresults having a typo
Browse files Browse the repository at this point in the history
CommanderStorm committed Jan 10, 2025
1 parent 67d21ee commit ca22a5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/src/search_executor/merger.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use meilisearch_sdk::search::{SearchResponse, SearchResult};
use meilisearch_sdk::search::{SearchResult, SearchResults};

use super::ResultFacet;
use crate::external::meilisearch::MSHit;
@@ -7,9 +7,9 @@ use crate::routes::search::Limits;
#[tracing::instrument(skip(merged_results, buildings_results, rooms_results))]
pub(super) fn merge_search_results(
limits: &Limits,
merged_results: &SearchResponse<MSHit>,
buildings_results: &SearchResponse<MSHit>,
rooms_results: &SearchResponse<MSHit>,
merged_results: &SearchResults<MSHit>,
buildings_results: &SearchResults<MSHit>,
rooms_results: &SearchResults<MSHit>,
) -> (super::ResultsSection, super::ResultsSection) {
// First look up which buildings did match even with a closed query.
// We can consider them more relevant.

0 comments on commit ca22a5f

Please sign in to comment.