You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Robert Munteanu <ro...@apache.org> on 2017/08/03 15:02:48 UTC

[composite] Detecting values present in multiple indexes

Hi,

I working on OAK-6505 [0] which will check, in a composite setup,
whether a unique index provided by multiple mounts is consistent. That
is, if the entries are unique for all index 'fragments' provided by
mounts, e.g.


/oak:index
  /uuid [ default mount index ]
  /oak:mount-private
    /uuid [ index provided by 'private' mount ]

Looking at the code, it looks like my best approach would be to use
obtain the respective IndexStoreStrategy instances and then iterate
through the values and checking for values appearing in both entries.

Is there a better way of achieving this?

Thanks,

Robert


[0]: https://issues.apache.org/jira/browse/OAK-6506