You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by André Maldonado <an...@gmail.com> on 2010/06/28 15:49:33 UTC

DataImportHandler $deleteDocById question

Hi all.

I'm trying to get $deleteDocById working, but any document is being deleted
from my index.

I'm using Full-Import (withOUT cleaning) and a script with:

row.put('$deleteDocById', row.get('codAnuncio'));

The script is passing in this line for every document it processes (for
testing purposes). The schema has:

<uniqueKey>codanuncio</uniqueKey>

What can be wrong?

Thank's

"Então aproximaram-se os que estavam no barco, e adoraram-no, dizendo: És
verdadeiramente o Filho de Deus." (Mateus 14:33)