<commit_before><?php

/**
 * 
 * @author <NAME>
 *
 */
class Apache_Solr_Query_Result
{
	/**
	 * Query Response
	 * 
	 * @var SolrQueryResponse
	 */
	protected $queryResponse=null;
	
	/**
	 * Response Object
	 * 
	 * @var SolrObject
	 */
	protected $response;
	
	public function __construct(SolrQueryResponse $response)
	{
		$this->queryResponse = $response;
		$this->response = $this->queryResponse->getResponse();
	}
	
	/**
	 * Total number of results found
	 * 
	 * @return integer
	 */
	public function getFound()
	{
		if($this->response){
			return $this->response->response->numFound;
		}else{
			return NULL;
		}
	}<commit_msg>written missing documentation<commit_after><?php

/**
 * 
 * @author <NAME>
 *
 */
class Apache_Solr_Query_Result
{
	/**
	 * Query Response
	 * 
	 * @var SolrQueryResponse
	 */
	protected $queryResponse=null;
	
	/**
	 * Response Object
	 * 
	 * @var SolrObject
	 */
	protected $response;
	
	/**
	 * 
	 * @param SolrQueryResponse $response
	 */
	public function __construct(SolrQueryResponse $response)
	{
		$this->queryResponse = $response;
		$this->response = $this->queryResponse->getResponse();
	}
	
	/**
	 * Total number of results found
	 * 
	 * @return integer
	 */
	public function getFound()
	{
		if($this->response){
			return $this->response->response->numFound;
		}else{
			return NULL;
		}
	}
{'fraction_non_alphanumeric': 0.14723467862481315, 'fraction_numerical': 0.0, 'mean_word_length': 3.184375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3691483', 'n_tokens_mistral': 494, 'n_tokens_neox': 424, 'n_words': 87}