You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Brandon Fish <br...@gmail.com> on 2011/06/23 20:14:49 UTC
Server Restart Required for Schema Changes After Document Delete All?
Are there any schema changes that would cause problems with the following
procedure from the
FAQ<http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F>
?
1. Use the "match all docs" query in a delete by query command before
shutting down Solr: <delete><query>*:*</query></delete>
1. Reload core
2. Re-Index your data
Would this work when dynamic fields are removed?
Re: Server Restart Required for Schema Changes After Document Delete All?
Posted by Tomás Fernández Löbbe <to...@gmail.com>.
One more thing, it's not necessary to restart the server, just to reload the
core: http://wiki.apache.org/solr/CoreAdmin#RELOAD
2011/6/27 Tomás Fernández Löbbe <to...@gmail.com>
> This should work with dynamic fields too. Are you having any problems with
> it?
>
>
> On Thu, Jun 23, 2011 at 3:14 PM, Brandon Fish <br...@gmail.com>wrote:
>
>> Are there any schema changes that would cause problems with the following
>> procedure from the
>> FAQ<
>> http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F
>> >
>> ?
>>
>> 1. Use the "match all docs" query in a delete by query command before
>> shutting down Solr: <delete><query>*:*</query></delete>
>>
>> 1. Reload core
>> 2. Re-Index your data
>>
>> Would this work when dynamic fields are removed?
>>
>
>
Re: Server Restart Required for Schema Changes After Document Delete All?
Posted by Brandon Fish <br...@gmail.com>.
I'm not having any issues. I was just asking to see if any backward
incompatible changes exist that would require a server restart. Thanks.
2011/6/27 Tomás Fernández Löbbe <to...@gmail.com>
> This should work with dynamic fields too. Are you having any problems with
> it?
>
>
> On Thu, Jun 23, 2011 at 3:14 PM, Brandon Fish <brandon.j.fish@gmail.com
> >wrote:
>
> > Are there any schema changes that would cause problems with the following
> > procedure from the
> > FAQ<
> >
> http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F
> > >
> > ?
> >
> > 1. Use the "match all docs" query in a delete by query command before
> > shutting down Solr: <delete><query>*:*</query></delete>
> >
> > 1. Reload core
> > 2. Re-Index your data
> >
> > Would this work when dynamic fields are removed?
> >
>
Re: Server Restart Required for Schema Changes After Document Delete All?
Posted by Tomás Fernández Löbbe <to...@gmail.com>.
This should work with dynamic fields too. Are you having any problems with
it?
On Thu, Jun 23, 2011 at 3:14 PM, Brandon Fish <br...@gmail.com>wrote:
> Are there any schema changes that would cause problems with the following
> procedure from the
> FAQ<
> http://wiki.apache.org/solr/FAQ#How_can_I_rebuild_my_index_from_scratch_if_I_change_my_schema.3F
> >
> ?
>
> 1. Use the "match all docs" query in a delete by query command before
> shutting down Solr: <delete><query>*:*</query></delete>
>
> 1. Reload core
> 2. Re-Index your data
>
> Would this work when dynamic fields are removed?
>