RE: How to delete documents

2014-03-31 Thread Suresh Soundararajan
Kaushik, Before delete the rows in the table, collect the primary id of the table related to the solr index and fire a solr query by deleteby ID and pass the collected ids. This will remove the documents in the solr index. Thanks, SureshKumar.S From: Ka

Re: How to delete documents from a SOLR cloud / balance the shards in the cloud?

2010-09-10 Thread James Liu
Stephan and all, I am evaluating this like you are. You may want to check http://www.tomkleinpeter.com/2008/03/17/programmers-toolbox-part-3-consistent-hashing/. I would appreciate if others can shed some light on this, too. Bests, James On Fri, Sep 10, 2010 at 6:07 AM, Stephan Raemy wrote: > Hi

RE: How to delete documents from SOLR index using DIH

2010-08-26 Thread Ephraim Ofir
Sent: Thursday, August 26, 2010 9:01 AM To: solr-user@lucene.apache.org Subject: Re: How to delete documents from SOLR index using DIH Thanks Erick. Your solution do make sense. Actually i wanted to know, how to use delete via query or unique id through DIH? Is there any specific query to be ment

Re: How to delete documents from SOLR index using DIH

2010-08-26 Thread Grijesh.singh
DIH is not basically for deletion it is for inserting data into index. Although it has a parameter "clean" which is by default true and it cleans the index every time when full-import command is issued, means it create index from scratch. If your requirement is to delete whole index you can also

Re: How to delete documents from SOLR index using DIH

2010-08-25 Thread Pawan Darira
Thanks Erick. Your solution do make sense. Actually i wanted to know, how to use delete via query or unique id through DIH? Is there any specific query to be mentioned in data-config.xml? Also Is there any separate command like "full-import" ,"delta-import" for deleting documents from index? On

Re: How to delete documents from SOLR index using DIH

2010-08-25 Thread Erick Erickson
I'm not sure what you mean here. You can delete via query or unique id. But DIH really isn't relevant here. If you've defined a unique key, simply re-adding any changed documents will delete the old one and insert the new document. If this makes no sense, could you explain what the underlying pro