Github user huitseeker commented on a diff in the pull request:
https://github.com/apache/spark/pull/1717#discussion_r34440188
--- Diff:
external/twitter/src/main/scala/org/apache/spark/streaming/twitter/TwitterInputDStream.scala
---
@@ -28,11 +28,16 @@ import org.apache.spark.storage.StorageLevel
import org.apache.spark.Logging
import org.apache.spark.streaming.receiver.Receiver
-/* A stream of Twitter statuses, potentially filtered by one or more
keywords.
+/** Bounding box to filter tweets by location. Units are degrees. */
+case class BoundingBox(west: Double, south: Double, east: Double, north:
Double)
--- End diff --
What if I want to filter using a non-contiguous surface (e.g. I want to
know who talks about soccer in Manchester or Chelsea during a football match
betw. their 2 teams) ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]