How to rewrite the template in a gjs component

@service search;

I found that I can directly access the search data within the connector. There is no need for component interaction at all.