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:- Notes. 1) the entity is assumed to have name="jc". 2) the uniqueKey field is assumed to called "id".

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 : >>Hi >> >>Is it possible, through dataimport handler to remove an existing >>document from the Solr index? >> >>I import/update from my databas

Re: Delete documents from index with dataimport

2009-05-13 Thread Fergus McMenemie
>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 >A