Skip to content

Commit

Permalink
tested a different way of ordering SplittableText increasing the rele…
Browse files Browse the repository at this point in the history
…vancy
  • Loading branch information
CommanderStorm committed Feb 15, 2024
1 parent 6ffb021 commit 8939f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main-api/src/search/search_executor/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl GeoEntryQuery {
.into_iter()
.map(|s| match s {
TextToken::Text(t) => t,
TextToken::SplittableText((t1, t2)) => format!("{t2} {t1} {t1}{t2}"),
TextToken::SplittableText((t1, t2)) => format!("{t1} {t2} {t1}{t2}"),
})
.collect::<Vec<String>>()
.join(" ")
Expand Down

0 comments on commit 8939f58

Please sign in to comment.