code: def _process_search_results(self,
                                  results: pysolr.Results) -> SearchResults:
          
  
          # map go-golr fields to standard
          for doc in results.docs:
              if 'entity' in doc:
                  doc['id'] = doc['entity']
                  doc['label'] = doc['entity_label']
  
          highlighting = {
              doc['id']: self._process_highlight(results, doc)._asdict()
              for doc in results.docs if results.highlighting
          }
          payload = SearchResults(
              facet_counts=translate_facet_field(results.facets),
              highlighting=highlighting,
              docs=results.docs,
              numFound=results.hits
          )
          logging.debug('Docs: {}'.format(len(results.docs)))
  
          return payload
docs: Convert solr docs to biolink object
  
          :param results: pysolr.Results
          :return: model.GolrResults.SearchResults