spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pjmccarthy <pmccar...@eatonvance.com>
Subject Twitter4J streaming question
Date Thu, 23 Jul 2015 19:23:41 GMT
Hopefully this is an easy one.  I am trying to filter a twitter dstream by
user ScreenName - my code is as follows 
val stream = TwitterUtils.createStream(ssc, None)
        .filter(_.getUser.getScreenName.contains("markets"))

however nothing gets returned and I can see that Bloomberg has tweeted.  If
I remove the filter I get tweets
If I change the code to looke for engligh or french tweets that works 

Is there a better way to do it ? 

Can anyone assist ? 



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Twitter4J-streaming-question-tp23974.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message