Why solr spatial/geofilt omit other fq condition? -
i starter solr. following fq query-
{!geofilt pt=43.653226,-79.38318429999998 sfield=lat_lon d=100} , -(start_date: [2013-07-01t0:00:00z 2013-07-18t0:00:00z] , end_date: [2013-07-01t0:00:00z 2013-07-18t0:00:00z])
my query target finding items within 100 km given latlon no start_date or end_date fall in date range [2013-07-01t0:00:00z 2013-07-18t0:00:00z]. here start_date , end_date multivalued fields. doesn't filter date range. when remove geofilt option below-
-(start_date: [2013-07-01t0:00:00z 2013-07-18t0:00:00z] , end_date: [2013-07-01t0:00:00z 2013-07-18t0:00:00z])
even works other fq condition not geofilt.
try putting !geofilt inside _query_:""
wrapper this:
_query_:"{!geofilt pt=43.653226,-79.38318429999998 sfield=lat_lon d=100}" , -(start_date: [2013-07-01t0:00:00z 2013-07-18t0:00:00z] , end_date: [2013-07-01t0:00:00z 2013-07-18t0:00:00z])
Comments
Post a Comment