lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghunandan Rao" <Raghunandan....@newScale.com>
Subject RE: Deleting indices
Date Fri, 28 Nov 2008 04:42:47 GMT
Yes, I am sure. Everytime I re-index, I do deleteByQuery("*:*") and then
fetch the rows from DB and call server.addBeans(list). 

-----Original Message-----
From: Mike Klaas [mailto:mike.klaas@gmail.com] 
Sent: Friday, November 28, 2008 4:30 AM
To: solr-user@lucene.apache.org
Subject: Re: Deleting indices


On 26-Nov-08, at 4:48 AM, Raghunandan Rao wrote:

> I have restarted and re-indexed all the docs after the change in the
> schema.xml. I was able to search even after that.
>
> I hit browser with this url
>
> http://localhost:7001/solr/select?q=name:2124&fl=*&debugQuery=true

Are you sure all the old docs are gone?  Try wiping the index  
completely:

deleteByQuery *:*

(it is also more efficient to do this first if you are going to re- 
index everything).

-Mike

Mime
View raw message