lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawan Darira <pawan.dar...@gmail.com>
Subject Re: Want to Delete Existing Index & create fresh index
Date Sat, 14 May 2011 13:01:52 GMT
I did that. Index directory is created but not contents in that

2011/5/14 François Schiettecatte <fschiettecatte@gmail.com>

> 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.darira@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)).
>
>


-- 
Thanks,
Pawan Darira

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message