If you add a field to the schema file and restart Solr, the existing
documents won't have that field. New documents that you index will. If
this is ok, you are safe.

In general, don't change the schema without indexing. You can trip
over the weirdest problems.

On Wed, Oct 6, 2010 at 12:31 AM, Gora Mohanty <g...@mimirtech.com> wrote:
> On Wed, Oct 6, 2010 at 11:59 AM, M.Rizwan <griz...@gmail.com> wrote:
>> Hi,
>>
>> I have lots of documents in my solr index.
>> Now I have a requirement to change its schema and add a new field.
>>
>> What should I do, so that all the documents keep working after schema
>> change?
> [...]
>
> You will need to reindex if the schema is changed.
>
> Regards,
> Gora
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to