That's the correct form for a geocode query


On Tue, May 27, 2014 at 10:33 AM, Ilayaperumal Gopinathan <
notifications@github.com> wrote:

> In
> extensions/spring-xd-extension-twitter/src/main/java/org/springframework/integration/x/twitter/TwitterSearchOptionsMetadata.java:
>
> > +import javax.validation.constraints.AssertTrue;
> > +import javax.validation.constraints.NotNull;
> > +
> > +import org.springframework.integration.x.twitter.TwitterSearchChannelAdapter.ResultType;
> > +import org.springframework.util.StringUtils;
> > +import org.springframework.xd.module.
> options.spi.ModuleOption;
> > +
> > +/**
> > + *
> > + * @author David Turanski
> > + */
> > +public class TwitterSearchOptionsMetadata {
> > +
> > +	private String language = "";
> > +
> > +	private String query = "";
>
> Yeah, but if no query value is given for stream definition (via command
> line) then the stream uses "" as the query parameter. This would result in
> the twittersearch stream to use: "
> https://api.twitter.com/1.1/search/tweets.json?q="
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/spring-projects/spring-xd/pull/887/files#r13080437>
> .
>