Re: Want to Delete Existing Index & create fresh index

2011-05-16 Thread Pawan Darira
I set the datadir in solrconfig.xml. actually m using core based structures. is it creating any problem On Sat, May 14, 2011 at 10:49 PM, Gabriele Kahlout wrote: > I guess you are having issues with the datadir. Did you set the datadir in > solrconfig.xml? > > On Sat, May 14, 2011 at 4:10 PM,

Re: Want to Delete Existing Index & create fresh index

2011-05-16 Thread Pawan Darira
It is by default commented in solrconfig.xml On Sat, May 14, 2011 at 10:49 PM, Gabriele Kahlout wrote: > I guess you are having issues with the datadir. Did you set the datadir in > solrconfig.xml? > > On Sat, May 14, 2011 at 4:10 PM, Pawan Darira >wrote: > > > Hi > > > > I am using Solr 1.4. &

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread François Schiettecatte
Note that you should only delete the 'index' directory, not the 'data' directory as well. Also just deleting the files in the 'index' directory will not work either. You should also check the startup log for solr/lucene, usually any issues are logged there. François On May 14, 2011, at 1:19 P

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread Gabriele Kahlout
I guess you are having issues with the datadir. Did you set the datadir in solrconfig.xml? On Sat, May 14, 2011 at 4:10 PM, Pawan Darira wrote: > Hi > > I am using Solr 1.4. & had changed schema already. When i created the index > for first time, the directory was automatically created & index ma

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread Pawan Darira
Hi I am using Solr 1.4. & had changed schema already. When i created the index for first time, the directory was automatically created & index made perfectly fine. Now, i want to create the index from scratch, so I deleted the whole data/index directory & ran the script. Now it is only creating e

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread Dmitry Kan
Hi Pawan, Which SOLR version do you have installed? It should be absolutely normal for the data/ sub directory to create when starting up SOLR. So just go ahead and post your data into SOLR, if you have changed the schema already. -- Regards, Dmitry Kan On Sat, May 14, 2011 at 4:01 PM, Pawan

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread Pawan Darira
I did that. Index directory is created but not contents in that 2011/5/14 François Schiettecatte > 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 A

Re: Want to Delete Existing Index & create fresh index

2011-05-14 Thread François Schiettecatte
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 > '*:*'" #empty index [1 >

Re: Want to Delete Existing Index & create fresh index

2011-05-13 Thread Gabriele Kahlout
"curl --fail $solrIndex/update?commit=true -d '*:*'" #empty index [1 ] did u try? On Sat, May 14, 2011 at 7:26 AM, Pawan Darira wrote: > Hi > > I had an existing index created months back. now my database schema has > cha

Want to Delete Existing Index & create fresh index

2011-05-13 Thread Pawan Darira
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