LPS-37345 support for searching assets using database (now it uses the index)