我必须运行一个长的 solr 查询。但是当我尝试它不会提供任何输出,只有空白页。他们在 solr 中是否有任何查询长度限制/配置?我使用的是 apache 服务器,没有配置限制。
如果我减少查询长度它将起作用。
我也在使用 Curl 进行连接。请帮我解决问题。
我正在使用的卷曲
public static function getDataThroughCurl($url,$ch)
{ 
    if (!function_exists('curl_init')){
        throw new CHttpException(404,'Sorry cURL is not installed'); 
    } 
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_USERPWD, 'f48be786f212f1e35dd965b4675358123d838e53:X');
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-type: application/json'));
    curl_setopt($ch, CURLOPT_POSTFIELDS, '');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    $output = curl_exec($ch);
    echo curl_error($ch);
    return $output;
}