RE: clear index

2007-08-25 Thread Chris Hostetter
: Subject: RE: clear index : : If that happens, then using that specific query should be added to the : FAQ for how to clear an index. it sort of already is ... note the answer to "How can I rebuild my index from scratch if I change my schema?" ...feel free to expand on the entry

RE: clear index

2007-08-24 Thread Sundling, Paul
If that happens, then using that specific query should be added to the FAQ for how to clear an index. Paul Sundling -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 6:41 PM To: solr-user@lucene.apache.org Subject: RE: clear index

RE: clear index

2007-08-21 Thread Chris Hostetter
: I'm just seeing if there's an easy/performant way of doing it with Solr. : For a solution with raw Lucene, creating a new index with the same : directory cleared out an old index (even on Windows with it's file : locking) quickly. there has been talk of optimizing delete by query in the case of

RE: clear index

2007-08-21 Thread Lance Norskog
"hibernate" mode would be useful in general for doing query rate and machine usage control. Lance -Original Message- From: Sundling, Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 21, 2007 4:21 PM To: solr-user@lucene.apache.org Subject: RE: clear index Trying the query

RE: clear index

2007-08-21 Thread Sundling, Paul
new index with the same directory cleared out an old index (even on Windows with it's file locking) quickly. Paul Sundling -Original Message- From: Charles Hornberger [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 10:03 PM To: solr-user@lucene.apache.org Subject: Re: cl

Re: clear index

2007-08-20 Thread Charles Hornberger
IIRC you can also also simply stop the servlet container, delete the contents of the data directory by hand, then restart the container. -Charlie On 8/20/07, Pieter Berkel <[EMAIL PROTECTED]> wrote: > If you are using solr 1.2 the following command (followed by a commit / > optimize) should do th

Re: clear index

2007-08-20 Thread Pieter Berkel
If you are using solr 1.2 the following command (followed by a commit / optimize) should do the trick: *:* cheers, Piete On 21/08/07, Sundling, Paul <[EMAIL PROTECTED]> wrote: > > what is the best approach to clearing an index? > > The use case is that I'm doing some performance testing with va