I seem to have a hard time to get $deleteDocById to work with the
XPathEntityProcessor. Anyone tested it and got it to work?

Here's a snippet of the code:
--
..
<field column="id" xpath="/io/article/@id"/>
<field column="source" xpath="/io/article/secti...@homesection='yes']/@source"/>
..
<field column="unique_id" template="${document.source}_${document.id}"/>
<field column="$deleteDocById" regex="^^(published)$"
repaceWith="${document.unique_id}" sourceColName="state"/>
..

Whenever I try to run a delta-import with a document that should
delete from the index it only updates the document in the index. The
last line in the code above is based upon a tip I found on the net,
unsure if it's correct.  Any help would be appreciated.

Regards,
Ingar

Reply via email to