Re: Question on deleting all rows for an index

2011-01-13 Thread kenf_nc
If this is a one-time cleanup, not something you need to do programmatically, you could delete the index directory ( /data/index ). In my case I have to stop Tomcat, delete .\index and restart Tomcat. It is very fast and starts me out with a fresh, empty, index. Noticed you are multi-core, I'm not

Re: Question on deleting all rows for an index

2011-01-12 Thread Grijesh.singh
Use this type of url for delete all data with fallowed by commit http://localhost:8983/solr/update/?stream.body=*:*&commit=true - Grijesh -- View this message in context: http://lucene.472066.n3.nabble.com/Question-on-deleting-all-rows-for-an-index-tp2246726p2246948.html Sent from the Sol

Re: Question on deleting all rows for an index

2011-01-12 Thread Daniel Ostermeier
Hi Robert, You can find an example of something similar to this in the examples that are part of the solr distribution. The tutorial ( http://lucene.apache.org/solr/tutorial.html) describes how to post data to the solr server via the post.jar user:~/solr/example/exampledocs$ *java -jar post

Re: Question on deleting all rows for an index

2011-01-12 Thread Gora Mohanty
On Thu, Jan 13, 2011 at 6:08 AM, Wilson, Robert wrote: > We are just staring with Solr and have a multi core implementation and need > to delete all the rows in the index to clean things up. > > When running an update via a url we are using something like the following > which works fine: > http