Re: Delete documents from index with dataimport

2009-05-14 Thread Andrew McCombe
Hi Yes I'd like the document deleted from Solr and yes, there is a unique document id field in Solr. Regards Andrew Andrew 2009/5/13 Fergus McMenemie fer...@twig.me.uk: Hi Is it possible, through dataimport handler to remove an existing document from the Solr index? I import/update from my

Re: Delete documents from index with dataimport

2009-05-14 Thread Fergus McMenemie
Hi Yes I'd like the document deleted from Solr and yes, there is a unique document id field in Solr. I that case try the following. Create a field in the entity:- field column=$deleteDocById regex=^false$ replaceWith=${jc.id} sourceColName=active/

Delete documents from index with dataimport

2009-05-13 Thread Andrew McCombe
Hi Is it possible, through dataimport handler to remove an existing document from the Solr index? I import/update from my database where the active field is true. However, if the client then set's active to false, the document stays in the Solr index and doesn't get removed. Regards Andrew