lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: Updating a indexed vs a non-indexed field
Date Fri, 04 Oct 2013 11:55:55 GMT
On Fri, Oct 4, 2013, at 11:19 AM, maephisto wrote:
> In the last Solr versions Atomic Updates were introduced
> http://wiki.apache.org/solr/Atomic_Updates
> 
> I'm wondering, updating a field that is 
> stored="true" indexed="true" 
> would be different as updating a field that is 
> stored="true" indexed="false"
> 
> Would Solr try to reindex the doc only if the field is indexed and not if
> it's just a stored field ?

Solr will use the stored fields along with the updates you provide to
produce a complete version of the document concerned.

If you don't store them, they can't be retrieved in this way, and your
field values will disappear.

Therefore, you need to store a field for it to survive an atomic update.
Whether you index it or not is up to you and the needs of your
application.

Upayavira

Mime
View raw message