You can also shut down solr/lucene, do:

        rm -rf /YourIndexName/data/index

and restart, the index directory will be automatically recreated.

François

On May 14, 2011, at 1:53 AM, Gabriele Kahlout wrote:

> "curl --fail $solrIndex/update?commit=true -d
> '<delete><query>*:*</query></delete>'" #empty index [1
> <http://wiki.apache.org/nutch/Whole-Web%20Crawling%20incremental%20script>]
> 
> did u try?
> 
> 
> On Sat, May 14, 2011 at 7:26 AM, Pawan Darira <pawan.dar...@gmail.com>wrote:
> 
>> Hi
>> 
>> I had an existing index created months back. now my database schema has
>> changed. i wanted to delete the current data/index directory & re-create
>> the
>> fresh index
>> 
>> but it is saying that "segments" file not found & just create blank
>> data/index directory. Please help
>> 
>> --
>> Thanks,
>> Pawan Darira
>> 
> 
> 
> 
> -- 
> Regards,
> K. Gabriele
> 
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
> < Now + 48h) ⇒ ¬resend(I, this).
> 
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).

Reply via email to