mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
[SearchEngine] Finalize search engine refactor
This commit is contained in:
@@ -112,7 +112,7 @@ class SphinxSearchEngine implements SearchEngineInterface
|
||||
$status = array();
|
||||
|
||||
$binStatus = strrev($record->get_status());
|
||||
|
||||
|
||||
for ($i = 4; $i < 32; $i++) {
|
||||
if ($binStatus[$i]) {
|
||||
$status[] = crc32($record->get_databox()->get_sbas_id() . '_' . $i);
|
||||
@@ -808,5 +808,21 @@ class SphinxSearchEngine implements SearchEngineInterface
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function clearCache()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function clearAllCache(\DateTime $date = null)
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user