Creating an empty Solr index

133 views
Skip to first unread message

Mark Andrews

unread,
Apr 5, 2008, 1:02:11 PM4/5/08
to facba...@googlegroups.com
How do you create an empty set of Solr index files, should you want to start over?
 
Thanks,
 
Mark A.
 


Going green? See the top 12 foods to eat organic.

Mike Beccaria

unread,
Apr 6, 2008, 8:22:27 AM4/6/08
to facba...@googlegroups.com
Shut down solr and delete the data folder. I'm not on a computer with one, but I think it's something along the lines of solr/index/data or or solr/data/index or something similar (someone correct me if I'm wrong). When you restart solr, it will recreate the folder.

Gabriel Sean Farrell

unread,
Apr 7, 2008, 9:39:13 AM4/7/08
to facba...@googlegroups.com
On Sun, Apr 6, 2008 at 8:22 AM, Mike Beccaria <mikebe...@gmail.com> wrote:
> Shut down solr and delete the data folder. I'm not on a computer with one,
> but I think it's something along the lines of solr/index/data or or
> solr/data/index or something similar (someone correct me if I'm wrong). When
> you restart solr, it will recreate the folder.

Yes, it's solr/data/index/. If you wish to rebuild the index, the
easiest way to do it is to stop Solr, "rm -rf solr/data/index/", start
it up again, and re-index (or, in Solr-speak, re-"update").

Reply all
Reply to author
Forward
0 new messages