Re: how to reset the index in solr

2018-04-02 Thread delk
If you want to delete all items from Solr index, use the query *:* - Development Center Toronto -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: how to reset the index in solr

2011-04-06 Thread Gabriele Kahlout
Hi Marcus, Your curl cmds don't work in that format on my unix. I conver them as follows, and they still don't work: $ curl --fail $solrIndex/update?commit=true -d '*:*' $ curl --fail $solrIndex/update -d '' From the browser:

Re: how to reset the index in solr

2011-04-06 Thread Gabriele Kahlout
Solved. The correct translation of Marcus cmd: $ curl http://localhost:8080/solr/update?commit=true -H Content-Type: text/xml --data-binary 'deletequery*:*/query/delete' http://stackoverflow.com/questions/2358476/solr-delete-not-working-for-some-reason NB: the response is still not what I'd

Re: how to reset the index in solr

2009-04-30 Thread Geetha
Thanks a lot Erik. I would try it and let me know Erik Hatcher wrote: On Apr 29, 2009, at 12:19 AM, Geetha wrote: I need a function (through solr ruby) for ruby that will allow us to clear everything require 'solr' solr = Solr::Connection.new(http://localhost:8983/solr;)

Re: how to reset the index in solr

2009-04-29 Thread Erik Hatcher
On Apr 28, 2009, at 11:33 PM, Geetha wrote: Thank you Erik.. Should I write the below code in rake task /lib/tasks/solr.rake? There's a start to some Solr Rake tasks in solr-ruby's lib/solr/ solrtasks.rb. I am newbie to ruby. Welcome! It's a fun fun world to be in :) Erik

Re: how to reset the index in solr

2009-04-29 Thread Erik Hatcher
On Apr 29, 2009, at 12:19 AM, Geetha wrote: I need a function (through solr ruby) for ruby that will allow us to clear everything require 'solr' solr = Solr::Connection.new(http://localhost:8983/solr;) solr.delete_by_query('*:*') solr.commit Erik

Re: how to reset the index in solr

2009-04-28 Thread Erik Hatcher
On Apr 24, 2009, at 1:54 AM, sagi4 wrote: Can i get the rake task for clearing the index of solr, I mean rake index::rebuild, It would be very helpful and also to avoid the delete id by manually. How do you currently build your index? But making a Rake task to do perform Solr operations

Re: how to reset the index in solr

2009-04-28 Thread Geetha
Thank you Erik.. Should I write the below code in rake task /lib/tasks/solr.rake? I am newbie to ruby. Erik Hatcher wrote: On Apr 24, 2009, at 1:54 AM, sagi4 wrote: Can i get the rake task for clearing the index of solr, I mean rake index::rebuild, It would be very helpful and also to

Re: how to reset the index in solr

2009-04-28 Thread Geetha
I need a function (through solr ruby) for ruby that will allow us to clear everything regards, Sg.. Geetha wrote: Thank you Erik.. Should I write the below code in rake task /lib/tasks/solr.rake? I am newbie to ruby. Erik Hatcher wrote: On Apr 24, 2009, at 1:54 AM, sagi4 wrote: Can i

Re: how to reset the index in solr

2009-04-23 Thread sagi4
Thanks for your valuable suggestions. Can i get the rake task for clearing the index of solr, I mean rake index::rebuild, It would be very helpful and also to avoid the delete id by manually. regards, Sg.. Otis Gospodnetic wrote: You can also delete it with delete by query using the

how to reset the index in solr

2009-04-22 Thread Geetha
I need to clearing the index in solr. I would appreciate anyone help -- Best Regards, ** *Geetha S *| System and Software Engineer email: gee...@angleritech.com mailto:gee...@angleritech.com * Visit us at ICT Expo, HongKong (13th-16th Apr 2009) and Internet World, UK (28-30 Apr 2009)*

Re: how to reset the index in solr

2009-04-22 Thread Marc Sturlese
What do you mean? To delete it or to reload it? If you want to delete it just delete ./data/index folder. If you want to reload just reload your server if you can. In case you are using cores you can just reload a core with all it's configuration

Re: how to reset the index in solr

2009-04-22 Thread sagi4
Thanks for your response. I want to clear it basically, it means clearing the index Thank you Sg.. What do you mean? To delete it or to reload it? If you want to delete it just delete ./data/index folder. If you want to reload just reload your server if you can. In case you are using

Re: how to reset the index in solr

2009-04-22 Thread Erik Hatcher
you can send in a delete request by query for *:*, that'll remove everything from the index. Erik On Apr 22, 2009, at 7:57 AM, sagi4 wrote: Thanks for your response. I want to clear it basically, it means clearing the index Thank you Sg.. What do you mean? To delete it or to

Re: how to reset the index in solr

2009-04-22 Thread Otis Gospodnetic
You can also delete it with delete by query using the following query in the delete command: *:* Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: sagi4 gee...@angleritech.com To: solr-user@lucene.apache.org Sent: Wednesday, April 22,