Cross index filtering


(Josh Harrison) #1

I've got a backlog of usernames. I need to pull data associated with those
usernames into a separate index.
I want a query that will let me do a terms facet on user counts in the
first index, with a facet filter excluding the users that already exist in
the second. Is there a simple way to do this?
There could end up being a couple hundred million unique users in the
secondary index, in theory. For that scale, what's the best way to approach
the problem?

--
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/7523648d-f12d-400d-b2d7-7cfb3c3f01c4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2