Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-14 Thread Emir Arnautović
Hi Ganesh, I cannot confirm for sure, but I would assume that it will not get reindexed, but just segments doc values file rewritten. It is best if you test this and see for yourself. Regards, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-14 Thread mganeshs
Hi Emir, Thanks for confirming that strField is not considered / available for in place updates. As per documentation, it says... *An atomic update operation is performed using this approach only when the fields to be updated meet these three conditions: are non-indexed (indexed="false"),

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-14 Thread Emir Arnautović
Hi Ganesh, Doc values are enabled for strField and UUID but in place updates are not. It is not free = according to some discussions on mailing list (did not check the code) in place updates are not update of some value in doc values file but rewrite of doc values file for the segment that it

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread mganeshs
Hi, Thanks for clearing. But as per this link (Enabling DocValues) it says that it supports strField and UUID field also. Again, what you mean by it's not free for large segments. Can you point me to some

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread Emir Arnautović
dexed > during updates, if the field is set as docValues="true" and indexed and > stored is set as false. > > But I want to know whether complete document will re-index, when I delete a > field of type "docvalue" is set as true, but indexed and stored is set as >

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread mganeshs
t will not be re-indexed during updates, if the field is set as docValues="true" and indexed and stored is set as false. But I want to know whether complete document will re-index, when I delete a field of type "docvalue" is set as true, but indexed and stored is set as false. Also wh

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread Emir Arnautović
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

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread mganeshs
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

Re: docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread Emir Arnautović
Hi, Changing schema will not do anything by itself. After changes are applied (core reloaded if not used API to update schema) it will use new schema to index new documents. What matters is what you had in index before schema updates. So if you had defined Field_one as string or you had it as

docvalues set to true, and indexed is false and stored is set to false

2018-02-13 Thread mganeshs
Hi, If I have set following in the schema What will be the impact of deleting a single field, "Fields_one" field or what's the impact of adding a new field "Fields_100" ? Will the whole document will re-indexed again, or only this field alone will be deleted and added correspondingly. Idea