lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Atomic Update at Solrj For a Newly Added Schema Field
Date Thu, 14 Nov 2013 14:46:29 GMT
I don't think this is a problem, what are you seeing? Have you
tried it and get an error?

The only reason you need to have fields stored is so _existing_
documents with _existing_ data gets into the new doc. Since
you've just added a field, you should be fine. It's just that updating
documents already in your index won't have any value in the new
field unless you specifically add it in the new version. So yes, to
get values in all of your _existing_ records you need to at least
add all the docs again, in which case you might as well re-index.

But if you can live with some of the docs not having the value,
you shouldn't need to.

If you're seeing other behavior tell us what you're seeing..

Best,
Erick


On Wed, Nov 13, 2013 at 1:10 PM, Furkan KAMACI <furkankamaci@gmail.com>wrote:

> I use Solr 4.5.1 I have indexed some documents and decided to add a new
> field to my schema after a time later. I want to use Atomic Updates for
> that newly added field. I use Solrj for indexing. However due to there is
> no field named as I've newly added Solr does not make an atomic update for
> existing documents. I do not want to reindex my whole data. Any ideas for
> it?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message