simplify: search by country instead of subdivision in Lucene

MB Lucene is literal text match only - no hierarchy. Searching by
subdivision (England, California) misses most artists. Now search
directly by country: tag:"heavy metal" AND area:"United Kingdom".
Scoring handles regional relevance.
This commit is contained in:
vicrodh committed 2026-03-09 14:06:51 -06:00
1 parent 84bb4f387c
commit 35b1626a7b
2 files changed
+16 -29

No files matched your search

+2 -2
View File
@@ -8982,9 +8982,9 @@ pub async fn v2_discover_artists_by_location(
match search_result {
Ok(response) => {
log::info!(
"[V2] tag:'{}' + area:'{}' returned {} artists",
"[V2] tag:'{}' + country:'{}' returned {} artists",
genre,
search_name,
country.as_deref().unwrap_or(&search_name),
response.artists.len()
);