Filter by content length?


#1

Is there a way in the interaction target to filter out content that is over a certain length?

Also, oddly, for facebook I see “facebook.og.length” that is surfaced as a string so you can’t (for example) filter on posts that are less than a certain length? Or is there some way to make that happen that I’m not seeing?


#2

You can use regular expressions in your CSDL to accomplish this. Some examples of what can be done can be found in the Regular Expressions blogpost.


#3

Thanks Jason; Maneesh Bhide @ DataSift replied to me in an email with the same advice and I’ve verified that a regular expression does the job nicely (e.g. “.{1,400}”. Thank you!