bloogrox / ssp-campaigns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get data from ES

bloogrox opened this issue · comments

commented

https://github.com/bloogrox/ssp-campaigns/blob/master/app.py#L103

get data, using filters, limits
documents have to be random

on every request we take random documents

for instance, we have 1 million documents,
if we apply filters we'll have 10% of them
after that we take 3 documents and every time they are random

Estimation: 30 minutes