Skip to content

Sweep(...)

Alex-Kent edited this page Apr 4, 2019 · 5 revisions

$index->Sweep( );
$index->Sweep( \%point );
$index->Sweep( \@points );
$index->Sweep( undef, \@extra_keys );
$index->Sweep( \%point, \@extra_keys );
$index->Sweep( \@points, \@extra_keys );

Remove data generated by searches from some or all points

The fields that will be removed are search_result_distance and antipode_distance.

Called on its own (with no point or points specified) this method will remove data generated by searches from all points in the index.

A list of additional keys to remove can optionally be supplied. To request vacuuming of all points with additional keys specified, use undef instead of \%point or \@points.

See also Vacuum(…).


%point or @points
The point or a list of points to remove metadata from


Added in 0.0.3, enhanced in 0.0.5