mirror of
https://github.com/kvazar-network/index-php.git
synced 2025-01-22 12:54:15 +00:00
add optimize method
This commit is contained in:
parent
5663adcb4c
commit
271be38739
@ -136,6 +136,13 @@ class Manticore
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function optimize(?bool $sync = false)
|
||||||
|
{
|
||||||
|
return $this->_index->optimize(
|
||||||
|
$sync
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
private function _crc32(mixed $value): int
|
private function _crc32(mixed $value): int
|
||||||
{
|
{
|
||||||
return crc32(
|
return crc32(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user