Migrate from old search
(from redmine: issue id 518, created on 2018-01-22tgradl, closed on 2018-01-24)