hi @Keerthi97 ,You can create a client library with the scripts and
include that in the search results component. In that case you don't
have to load it in the head.html and will be just loaded on the search
results page where that component will be used. If there is no search
result component that is used on the results page, you can put a
condition in the html using data-sly-test attribute, and then load the
js. In this case also, it will load only in that specific page.some
useful
links-https...