Ignoring duplicates when searching across multiple indices

Hello,

we have two indices, a global article index and a specific shop article
index.
The shop article index may contain articles that are already in the global
article index.
These articles may have more information than there global counterparts.

We formulate queries across both indices at once using the multiple indices
api.
How can we discard duplicates?

Regards,
Lion

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Either you search only a list of specific shops, or the global index. If
you search both, your design implies you want duplicates (and to remove
them afterwards is always clumsy)

Jörg

Am 18.02.13 11:38, schrieb Lion Vollnhals:

Hello,

we have two indices, a global article index and a specific shop
article index.
The shop article index may contain articles that are already in the
global article index.
These articles may have more information than there global counterparts.

We formulate queries across both indices at once using the multiple
indices api.
How can we discard duplicates?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.