{"action":"closed","issue":{"url":"https://api.github.com/repos/CDrummond/cantata/issues/702","labels_url":"https://api.github.com/repos/CDrummond/cantata/issues/702/labels{/name}","comments_url":"https://api.github.com/repos/CDrummond/cantata/issues/702/comments","events_url":"https://api.github.com/repos/CDrummond/cantata/issues/702/events","html_url":"https://github.com/CDrummond/cantata/issues/702","id":96120274,"number":702,"title":"Extremely slow library search, hangs for several minutes","user":{"login":"vibee","id":2415506,"avatar_url":"https://avatars.githubusercontent.com/u/2415506?v=3","gravatar_id":"","url":"https://api.github.com/users/vibee","html_url":"https://github.com/vibee","followers_url":"https://api.github.com/users/vibee/followers","following_url":"https://api.github.com/users/vibee/following{/other_user}","gists_url":"https://api.github.com/users/vibee/gists{/gist_id}","starred_url":"https://api.github.com/users/vibee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vibee/subscriptions","organizations_url":"https://api.github.com/users/vibee/orgs","repos_url":"https://api.github.com/users/vibee/repos","events_url":"https://api.github.com/users/vibee/events{/privacy}","received_events_url":"https://api.github.com/users/vibee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-07-20T17:52:05Z","updated_at":"2015-07-22T13:46:52Z","closed_at":"2015-07-22T13:46:52Z","body":"Today, I rebuilt cantata from trunk. I previously used a trunk version from the old svn repo, rev. 56xx.\r\nI found a major issue concerning the library search function. It became much worse compared to 1-2 months ago. My library is ~400GB large, and mpd is running in my local gigabit ethernet network. There is access to the file system via samba.\r\n\r\nThat's how you might reproduce the issue:\r\n1. In album view, hit ctrl-F and type only a single letter (for instance 'e' or 'a') and wait shortly, such that the search is started.\r\n2. Cantata completely hangs for several minutes, consuming 100% cpu. After this time, the search result is shown correctly and I can work with canata again. Mostly, I just kill cantata in order to avoid the waiting time.\r\n\r\nIn order to avoid this issue, I need to type my search request quickly, such that the search engine starts working for an input consisting of more than one or two letters. \r\n\r\nMy system:\r\n- Arch linux x64\r\n- cantata-git package from AUR\r\n- Core i7 (3,9GHz)"}}