lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Wellnhofer <wellnho...@aevum.de>
Subject Re: [lucy-user] Doc id from hits and remove redundant documents
Date Wed, 23 Nov 2016 15:24:42 GMT
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


Mime
View raw message