Modify the documents while reindexing

Can we modify the documents while reindexing ? Example: Suppose a document at source index contains a field "user" = "gmail" and while reindexing from source to destination shall we change the "user" = "facebook" at destination index? or after reindex we have to update by separate update command?

You can provide a script while reindexing.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.