This query returns the correct results:
http://localhost:8983/solr/tt/select/?indent=on&fq={!geofilt}&pt=41.7882,-71.9498&sfield=geolocation&d=2000&q=*:*&start=0&rows=12&fl=id,title&facet.mincount=1&fl=_dist_:geodist()

However, I want to add OR select on a field city as well:
&fq=city:(brooklyn)

But when I add that to my querystring I get:

http://localhost:8983/solr/tt/select/?indent=on&fq=city:(brooklyn)&fq={!geofilt}&pt=41.7882,-71.9498&sfield=geolocation&d=2000&q=*:*&start=0&rows=12&fl=id,title&facet.mincount=1&fl=_dist_:geodist()

Then I get 0 results.

I have this in my schema.xml:
 <solrQueryParser defaultOperator="OR"/>
 
How can I add an OR operator in my querystring and group fields "city" and
my geodist parameters?




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Adding-OR-operator-in-querystring-and-grouping-fields-tp4093942.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to