Guys,
I just successfully imported my data to ES, e,g. It has looks like this:
"activity": 'viewed',
"sessionId": "000000143198107b3fe510b041138cd33fdd9252aab9808c",
"campaign_id":""
,
As you can see, the two entries has the same session id, and since the
second entry has a campaign_id, i will assume the first activity(viewed) is
also generated from the campaign.
So how can i do count like:
(count the activities that are generated from campaign):
count(activity)
where sessionId in (select sessionid from index where
campaign_id="m_campaign") ?
Guys,
I just successfully imported my data to ES, e,g. It has looks like this:
"activity": 'viewed',
"sessionId": "000000143198107b3fe510b041138cd33fdd9252aab9808c",
"campaign_id":""
,
As you can see, the two entries has the same session id, and since the
second entry has a campaign_id, i will assume the first activity(viewed) is
also generated from the campaign.
So how can i do count like:
(count the activities that are generated from campaign):
count(activity)
where sessionId in (select sessionid from index where
campaign_id="m_campaign") ?
Guys,
I just successfully imported my data to ES, e,g. It has looks like this:
"activity": 'viewed',
"sessionId": "000000143198107b3fe510b041138cd33fdd9252aab9808c",
"campaign_id":""
,
As you can see, the two entries has the same session id, and since the
second entry has a campaign_id, i will assume the first activity(viewed) is
also generated from the campaign.
So how can i do count like:
(count the activities that are generated from campaign):
count(activity)
where sessionId in (select sessionid from index where
campaign_id="m_campaign") ?
Thanks much!
Chen
--
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.