Re: How to reindex data without restarting server

2010-02-17 Thread Chris Hostetter
: How do I SWAP the old_core with the new_core. Is it to be done manually or : does solr provide with a command for doing so. What if I don't make a new you use the SWAP command, as described in the URL that was mentioned... : > : http://wiki.apache.org/solr/CoreAdmin : > : > For making a schema

Re: How to reindex data without restarting server

2010-02-13 Thread Emad Mushtaq
How do I SWAP the old_core with the new_core. Is it to be done manually or does solr provide with a command for doing so. What if I don't make a new core, make changes to the existing core, reindex it and then utilize the RELOAD command. Would this be a bad approach ? On Sat, Feb 13, 2010 at 10:1

Re: How to reindex data without restarting server

2010-02-12 Thread Chris Hostetter
: if you use the core model via solr.xml you can reload a core without having to : to restart the servlet container, : http://wiki.apache.org/solr/CoreAdmin For making a schema change, the steps would be: - create a "new_core" with the new schema - reindex all the docs into "new_core" - "SW

Re: How to reindex data without restarting server

2010-02-12 Thread Emad Mushtaq
Hi, Thanks ! This is very useful :) :) On Fri, Feb 12, 2010 at 7:55 AM, Joe Calderon wrote: > if you use the core model via solr.xml you can reload a core without having > to to restart the servlet container, > http://wiki.apache.org/solr/CoreAdmin > > On 02/11/2010 02:40 PM, Emad Mushtaq wrote:

Re: How to reindex data without restarting server

2010-02-11 Thread Joe Calderon
if you use the core model via solr.xml you can reload a core without having to to restart the servlet container, http://wiki.apache.org/solr/CoreAdmin On 02/11/2010 02:40 PM, Emad Mushtaq wrote: Hi, I would like to know if there is a way of reindexing data without restarting the server. Lets sa

Re: How to reindex data without restarting server

2010-02-11 Thread Emad Mushtaq
Thanks for responding to my question. Let me just put a situation that might arise in future. I decide to add a new field to the schema. So if I have understood you correctly, "piping it through the whole process" would mean, that I delete records one by one, and add the same records again. Basica

Re: How to reindex data without restarting server

2010-02-11 Thread Sven Maurmann
Hi, restarting the Solr server wouldn't help. If you want to re-index your data you have to pipe it through the whole process again. In your case it might be a good idea to consider having several cores holding the different schema definitions. This will not save you from getting the original da

How to reindex data without restarting server

2010-02-11 Thread Emad Mushtaq
Hi, I would like to know if there is a way of reindexing data without restarting the server. Lets say I make a change in the schema file. That would require me to reindex data. Is there a solution to this ? -- Muhammad Emad Mushtaq http://www.emadmushtaq.com/