lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PeterKerk <vettepa...@hotmail.com>
Subject Adding OR operator in querystring and grouping fields?
Date Mon, 07 Oct 2013 17:08:19 GMT

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.

Mime
View raw message