<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_solr_search_url(self, use_amigo=False):
 """ Return solr URL to be used for lexical entity searches A solr search URL is used to search entities/concepts based on a limited set of parameters. Arguments --------- use_amigo : bool If true, get the URL for the GO/AmiGO instance of GOlr. This is typically used for category='function' queries """

        url = self.endpoint_url(self.solr_search)
        if use_amigo:
            url = self.endpoint_url(self.amigo_solr_search)
        return url