Unique data by referencing 2 fields


(Cameron Barker) #1

Hi all,

Would it be possible to get unique items from an elastic search database
that reference 2 fields for uniqueness, all while using only elastic search
or a plug in?

I.E.
Initial Data:
{
provider: "tumblr"
text: "I need to get this."
}
{
provider: "twitter"
text: "I need to get this."
}
{
provider: "tumblr"
text: "I need to get this."
}

Return:
{
provider: "twitter"
text: "I need to get this."
}
{
provider: "tumblr"
text: "I need to get this."
}

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e67f33df-643e-4840-a056-271b5db217ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2