Csdl


#1

Lets say I have to follow 200,000 handles and I would like to use Push subscription.
Can I have one CSDL as follows

twitter.user.id in [1,2,…100,000] - generate a hash for this. - hash1
twitter.user.id in [100,001…200,00] - generate a hash for this. - hash2

reason to split into 2 filters - Datasift has a limit of having maximum of 100k handles in one filter.

Master stream -
return { stream hash1 or stream h2}

Generate a hash for this master stream and use this master stream hash for push subscription.


#2

Setting up your stream in this way will work, yes.

Please note, the CSDL limit is not 100k keywords per filter. The CSDL limit is that no single CSDL filter can exceed 1MB - this happens to be approximately 100k usernames/ids.