Re: Find records with no values in solr.LatLongType fied type

2015-10-01 Thread Erick Erickson
BTW, there's a JIRA for this, it's a bit clumsy to have to know about how the coordinate fields are split up And I like Ishan's idea too! On Wed, Sep 30, 2015 at 11:51 AM, Ishan Chattopadhyaya wrote: > There's also a function, exists(), which might work here, and

Re: Find records with no values in solr.LatLongType fied type

2015-09-30 Thread Ishan Chattopadhyaya
There's also a function, exists(), which might work here, and result in a neater query. e.g. something like: q=*:* -exists(usrlatlong_0_coordinate) Haven't tried it, though. https://cwiki.apache.org/confluence/display/solr/Function+Queries#FunctionQueries-AvailableFunctions On Wed, Sep 30, 2015

Re: Find records with no values in solr.LatLongType fied type

2015-09-30 Thread Kamal Kishore Aggarwal
Thanks Erick..it worked.. On Wed, Sep 16, 2015 at 9:21 PM, Erick Erickson wrote: > Top level queries need a *:* in front, something like > q=*:* -usrlatlong_0_coordinate:[* TO *] > > I just took a quick check and just using usrlatlong:[* TO *] > encounters a parse

Re: Find records with no values in solr.LatLongType fied type

2015-09-16 Thread Erick Erickson
Top level queries need a *:* in front, something like q=*:* -usrlatlong_0_coordinate:[* TO *] I just took a quick check and just using usrlatlong:[* TO *] encounters a parse error. P.S. It would help if you told us what you _did_ receive when you tried your options. Parse errors? All docs?

Find records with no values in solr.LatLongType fied type

2015-09-14 Thread Kamal Kishore Aggarwal
Hi, I am working on solr 4.8,1. I am trying to find the docs where latlongtype have null values. I have tried using these, but not getting the results : 1) http://localhost:8984/solr/IM-Search/select?q.alt=-usrlatlong:[' ' TO *] 2)