On 23/11/2016 16:11, Nick Wellnhofer wrote:
Typically, you use one of the fields in your schema as primary key and delete documents using delete_by_term:$indexer->delete_by_term(my_primary_key => $value);
Oops, this should have been:
$indexer->delete_by_term(
field => 'my_primary_key',
term => $value,
);
Nick
