Add basic support for search endpoint