Local search result not visible because of spelling correction [Ticket In]

Hi,

I’m a bit confused about the results of roon’s search as I don’t quite understand this.

I have reduced the albums in my library to a few for testing.

Roon Server 2.0 (build 1496)
Debian 12 (bookworm) 64 GB memory, 8 TB ssd 50% free

The test song I’m looking for is “Atlantis” by “Donovan” on the album “The Finest Masterpieses in Rock & Pop”

I only have this single title in the library and I do a search for “atlantis”

RoonServer Logfile

01/29 13:22:08 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 32ms. IsCancelled: False. CandidateCounts: Album Count 0, Track Count 1, Work Count 1, Performer Count 0, Composer Count 0, Genre Count 0, Label Count 0

The song is listed in the search results under Title.

Now I add some albums of the singer “Alanis Morissette” to the library. The first album has 12 tracks.

01/29 13:33:59 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 43ms. IsCancelled: False. CandidateCounts: Album Count 1, Track Count 13, Work Count 12, Performer Count 1, Composer Count 1, Genre Count 0, Label Count 1

The search result lists 13 tracks. All 12 from the album by “Alanis Morissette” and additionally “Atlantis” at the end of the list.

The first question is why do these titles appear under titles in the search result? None of the titles of “Alanis Morissette” are called Atlantis or similar.

If I add more albums by “Alanis Morissette” to the library, all titles by “Alanis Morissette” are listed under “Title” and “Atlantis” is listed last.
This continues until 50 or more titles by “Alanis Morissette” are added.

01/29 13:41:02 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 3ms. IsCancelled: False. CandidateCounts: Album Count 2, Track Count 26, Work Count 20, Performer Count 1, Composer Count 1, Genre Count 0, Label Count 1
01/29 13:44:32 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 4ms. IsCancelled: False. CandidateCounts: Album Count 3, Track Count 38, Work Count 20, Performer Count 1, Composer Count 1, Genre Count 0, Label Count 1
01/29 13:46:37 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 2ms. IsCancelled: False. CandidateCounts: Album Count 4, Track Count 48, Work Count 30, Performer Count 1, Composer Count 1, Genre Count 0, Label Count 1
01/29 13:47:47 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 2ms. IsCancelled: False. CandidateCounts: Album Count 5, Track Count 50, Work Count 44, Performer Count 1, Composer Count 1, Genre Count 0, Label Count 1
01/29 13:47:47 Trace: [Worker (1)] [music/searchindex] LibrarySearchTotal Query 'atlantis': 2ms. IsCancelled: False. CandidateCounts: Album Count 5, Track Count 50, Work Count 44, Performer Count 1, Composer Count 1, Genre Count 0, Label Count 1

The track count never rises above 50 in the search.

However, only tracks by “Alanis Morissette” now appear in the search results and the track “Atlantis” by Donovan is no longer included in the search results. Although this title is the only title that matches exactly in the search.

Is this “intentional” or can the behavior of the search be adjusted? Why do titles that don’t match the search replace the titles that do?

In this example, I cannot find the title that matches the search exactly.

Regards, Henry

Do you subscribe to a streaming service (e.g. Tidal or Qobuz) and are you using the Global Search function? I.e. the icon at the top right of the Roon screen?

If so, the this search looks not only within the contents of your library, but also in the entire catalogue of the streaming services that you are subscribed to.

I often find it better to use the Filter function in the library browsers to search for items in my library, e.g.

Sounds like a “fuzzy match” algorithm gone mad: A(t)lan(t)is Morissette
Even all the letters are present (Morissette provides the Ts).

If this is what it looks like to me then it has to be corrected by Roon Labs (if at all).

This is the known search result limit (per category).

As for Atlantis and Alanis, Roon users have been asking for the search to be less literal and more forgiving of typos, and it has started to be more like that over time.

It’s inevitable that then it can’t decide if you meant Atlantis or meant Alanis and made a typo, so certain frequent alternatives get displayed

I think it’s inevitable and I warned the „I can’t type and want fuzzy search“ people all along that this would happen.

Thanks for the quick reply :slight_smile:

I only use my local library, no streaming services.

I also think the search results are based on “fuzzy match”. I guess that’s not the problem

But what I was expecting is that Alanis only comes up under the artists found and not all her albums and all her songs under the other categories as the albums and tracks don’t match on Atlantis.

Thought the search results under Artists/Albums/Tracks etc. were independent search results.

I misunderstood the global search a bit.

One additional question.

On the Roon iphone app there is an search option for My Albums, My Artists, My Composer but not for My Tracks and My Compositions?

Hey @Henry, I’m a dev that works on search at roon. Thank you for the detailed explanation on the issue.

There’s not much you can as a user to adjust the general behavior of search, but you could try a few things:

  • entering a more detailed query i.e. atlantis donovan
  • set the track as a “favorite” with the heart button on the album page
  • check if the Donovan album is identified, since unidentified content has less metadata attached to it

In short, the issue is in the ranking system, it’s not weighing in your original query as it should, because “Alanis” appears very frequently, and on top of that it’s attached to popular content that is also in your own library. Despite that, there has to be “Atlantis” among the result, and this is a bug.

We have sufficient information to replicate and work on the issue, so thank you for that!

I’ll move this thread to the support area.

Hello Zenit,

thanks for your response.

  • entering a more detailed query i.e. atlantis donovan
    This works, the only search result is the the titel and album with the song

  • set the track as a “favorite” with the heart button on the album page
    the Donovan track Atlantis not in the search result

  • check if the Donovan album is identified, since unidentified content has less metadata attached to it
    the album is identified, a collection of different artists

Is there a reason that on the iPhone app is it not possible to search for “My Tracks” and “My Compositions” in the library? In the Mac and Ipad app its possible.

Regards, Henry

Hi @Henry,

Is this happening with the remote app or with Roon ARC?

Hi Daniel,

this is happen on the remote app on my iPhone 13 Pro Max, iOS 18.3.


The same thing happens in the Android app. It seems like the feature was not completed or was overlooked in the mobile codebase.

Hi everyone,

Engineering has a ticket in the pipeline to fully resolve this issue in Roon on affected operating systems. We’ll post an update here as soon as the ticket is slated for release into a public Roon build. Thank you for the report and for your ongoing patience.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hallo @Henry, we’re working on this issue.

One question - is the album “The Finest Masterpieses in Rock & Pop” identified? If you’re not sure, can you please post a screenshot of it like this?

If it’s not identified, the likelihood of it showing up as a search result is noticeably lower at the moment. We’re working on improving that.

Also, could you please try resetting your roon server, and then trying again the search atlantis and atlantis donovan? I’ve enabled some verbose logging for your account that should help out to see what is being sent to the search service.

Hello Zenit,

It looks like that the album are not identified. There are two albums/cds with this name. Both are not identified.



What do you mean with "reseting your roon server“? Only remove and add the filesystem with the music from the library or a fresh install of the roon on my linux server?

I meant just stopping and starting the roon server process on your local machine - or restart the whole machine if that’s easier for you. But I think we have enough info now to reproduce the issue without the logs.

Generally, the identification process maps your locally stored album to roon metadata, so it provides whatever additional info we have on the given album and artists. For search, it helps attach general popularity and other data that helps it give some preference over other content. Normally, the identification happens automatically, but in this case you can try to match it manually by clicking “Nicht identifiziert” → “Album Identifizieren (oder so etwas auf Deutsch)”. Either way, even without the identification, the song should be still among the search results, so we’re working on it.

i have stoped/started the Roonserver and have done the both search.

Thanks for letting us know @Henry , if any more details are needed, we’ll be sure to reach out!