creates SearchEngine and migrates data