Details
Description
IndexDefinitionBuilder currently sets reindex flag while building an index definition if there is a difference in existing def v/s what it builds.
The only place it acts smarter is while setting up nrt or sync flag. There are quite a few properties which only affect querying or cost-estimation and don't imply a change in indexed data. For such cases, simply setting refresh=true should suffice.