Hello,
I have an index where i store comments for articles
Document is like this
{
user_name:
field_X:
field_Y:
publish_date:
first_post: keeps if that post was the first made by user
}
What i want to do is to find all the users that are matching field_X and
field_Y and made their first post during a given period.
Base on that result i want to find the number of those users that have
repost during another given period
First thing that comes in my mind is a two step search
So i have two questions:
a) I want to support large collection (thousands documents). How efficient
is will be if i go with two step solution to add in second search thousands
of term filters
b) Is there a way to achieve that in one query
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Use-search-results-as-base-for-another-search-tp4065049.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1413709328117-4065049.post%40n3.nabble.com.
For more options, visit https://groups.google.com/d/optout.