add query service for search