diff --git a/src/cli/document/crawl.php b/src/cli/document/crawl.php index 937679d..04eba22 100644 --- a/src/cli/document/crawl.php +++ b/src/cli/document/crawl.php @@ -213,6 +213,7 @@ foreach($index->search('') if ($code = curl_getinfo($request, CURLINFO_HTTP_CODE)) { // Delete deprecated document from index as HTTP code still not 200 + /* if ($code != 200 && !empty($data['code']) && $data['code'] != 200) { $index->deleteDocument( @@ -221,6 +222,7 @@ foreach($index->search('') continue; } + */ $data['code'] = $code;