Suppose I have some document
id=1
{
"foo":"bar"
}
What happens if I'm trying to index the same document? Will it be reindexed? Is it the same as if some field changed? (I see that version number grows so I expect so)
id=1
{
"foo":"baz"
}
Is there a nice way to check if I'm going to index duplicate document?