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, Gor
On Wed, Oct 6, 2010 at 11:59 AM, M.Rizwan 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 sche
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?
Thanks
Riz