Hi all,

With an implicit collection, is it legal to index the same document
(same unique ID) in 2 different shards? I know, it kind of defeats the
purpose of having a unique ID...

The reason I'm doing this, is because I want to "move" a single document
from 1 shard to an other. During the transition period, I'd use a search
criteria to specify which shard I want to target to find that document.

At search, I do notice some weird behaviors. The facets do take into
account the duplicate nature but the number of results varies, for
instance depending on parameter row=xx. But that doesn't surprise me too
much given the non-uniqueness-of-the-unique-ID".

So my actual question is the following: if my search query guaranties
there will be no duplicate matches, is my search result going to be
consistent? That's assuming it's "legal" to have duplicates across
shards from an indexation point of view.
 
Thanks,
Damien

Reply via email to