replace db search with realtime db service