RE: Delete all documents in the index

2012-09-06 Thread Alexey Kozhemiakin
Subject: Re: Delete all documents in the index Thanks for posting this! I ran into exactly this issue yesterday, and ended up felting the files to get around it. Mark Sent from my mobile doohickey. On Sep 6, 2012 4:13 AM, "Rohit Harchandani" wrote: > Thanks everyone. Adding the _vers

Re: Delete all documents in the index

2012-09-05 Thread Mark Mandel
Thanks for posting this! I ran into exactly this issue yesterday, and ended up felting the files to get around it. Mark Sent from my mobile doohickey. On Sep 6, 2012 4:13 AM, "Rohit Harchandani" wrote: > Thanks everyone. Adding the _version_ field in the schema worked. > Deleting the data dire

Re: Delete all documents in the index

2012-09-05 Thread Rohit Harchandani
Thanks everyone. Adding the _version_ field in the schema worked. Deleting the data directory works for me, but was not sure why deleting using curl was not working. On Wed, Sep 5, 2012 at 1:49 PM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > Rohit: > > If it's easy, the easi

Re: Delete all documents in the index

2012-09-05 Thread Michael Della Bitta
Rohit: If it's easy, the easiest thing to do is to turn off your servlet container, rm -r * inside of the data directory, and then restart the container. Michael Della Bitta Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017 www.appinio

Re: Delete all documents in the index

2012-09-05 Thread Jack Krupansky
Check to make sure that you are not stumbling into SOLR-3432: "deleteByQuery silently ignored if updateLog is enabled, but {{_version_}} field does not exist in schema". See: https://issues.apache.org/jira/browse/SOLR-3432 This could happen if you kept the new 4.0 solrconfig.xml, but copied in