lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emir Arnautović <emir.arnauto...@sematext.com>
Subject Re: docvalues set to true, and indexed is false and stored is set to false
Date Tue, 13 Feb 2018 12:06:39 GMT
Whenever you send doc to indexing, it is indexed completely and old document with the same
id (if one exists) is just flagged as deleted and will be removed from index when segment
that it is stored is merged. In case of large segments, it might be never.

The safest option is to do full reindexing on a fresh collection once you change schema.

Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 13 Feb 2018, at 11:34, mganeshs <mganeshs@live.in> wrote:
> 
> Hi,
> 
> Thanks for quick response. 
> 
> I forgot to mention that after adding it, I have re-indexed all the data
> with dynamic fields Field_one, Field_two etc. 
> 
> In that case, by adding new field ( docvalue field ) or removing existing
> docvalue field, Will the whole document will re-indexed again, or only this
> field alone will be deleted and added correspondingly.
> 
> Regards,
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Mime
View raw message