sorry, it works like this, i had a typo in my conf :-(

On 17. Sep 2013, at 2:44 PM, Andreas Owen wrote:

> i would like to know how to get it to work and delete documents per xml and 
> dih.
> 
> On 17. Sep 2013, at 1:47 PM, Shalin Shekhar Mangar wrote:
> 
>> What is your question?
>> 
>> On Tue, Sep 17, 2013 at 12:17 AM, andreas owen <a.o...@gmx.net> wrote:
>>> i am using dih and want to delete indexed documents by xml-file with ids. i 
>>> have seen $deleteDocById used in <entity query="...">
>>> 
>>> data-config.xml:
>>> <entity name="rec" processor="XPathEntityProcessor" 
>>> url="file:///C:\ColdFusion10\cfusion\solr\solr\tkbintranet\docImportDelete.xml"
>>>  forEach="/docs/doc" dataSource="main" >
>>>       <field column="$deleteDocById" xpath="//id" />
>>> </entity>
>>> 
>>> xml-file:
>>> <docs>
>>>       <doc>
>>>               <id>2345</id>
>>>       </doc>
>>> </docs>
>> 
>> 
>> 
>> -- 
>> Regards,
>> Shalin Shekhar Mangar.

Reply via email to