|
|
@ -213,6 +213,7 @@ foreach($index->search('') |
|
|
|
if ($code = curl_getinfo($request, CURLINFO_HTTP_CODE)) |
|
|
|
if ($code = curl_getinfo($request, CURLINFO_HTTP_CODE)) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Delete deprecated document from index as HTTP code still not 200 |
|
|
|
// Delete deprecated document from index as HTTP code still not 200 |
|
|
|
|
|
|
|
/* |
|
|
|
if ($code != 200 && !empty($data['code']) && $data['code'] != 200) |
|
|
|
if ($code != 200 && !empty($data['code']) && $data['code'] != 200) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$index->deleteDocument( |
|
|
|
$index->deleteDocument( |
|
|
@ -221,6 +222,7 @@ foreach($index->search('') |
|
|
|
|
|
|
|
|
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
$data['code'] = $code; |
|
|
|
$data['code'] = $code; |
|
|
|
|
|
|
|
|
|
|
|