Re: spatial search, geofilt does not work

2013-08-20 Thread David Smiley (@MITRE.org)
quot;author_geo":"34.991199,34.991199", >> > "geodist(author_geo,35,35)":1.2650756688780775}, >> > { >> > "author_geo":"34.991199,34.991199", >> > "geodist(author_geo,35,35)&quo

Re: spatial search, geofilt does not work

2013-08-20 Thread Mingfeng Yang
; { > > "author_geo":"35.032242,35.032242", > > "geodist(author_geo,35,35)":4.634071252404282}, > > { > > "author_geo":"35.04644,35.04644", > > "geodist(author_geo,35,35)":6.674485609316976}, > > { > > "author_geo":"35.060379,35.060379", > > "geodist(author_geo,35,35)":8.67754019129343}, > > { > > "author_geo":"34.924019,34.924019", > > "geodist(author_geo,35,35)":10.923479728441448}, > > { > > "author_geo":"34.89296,34.89296", > > "geodist(author_geo,35,35)":15.389876355902395}, > > { > > "author_geo":"34.89296,34.89296", > > "geodist(author_geo,35,35)":15.389876355902395}, > > { > > "author_geo":"35.109669,35.109669", > > "geodist(author_geo,35,35)":15.759483283896515}] > > }} > > > > Can anyone tell me if anything is wrong here? I am using Solr 4.4. > > > > Thanks, > > Ming- > > > > > > - > Author: > http://www.packtpub.com/apache-solr-3-enterprise-search-server/book > -- > View this message in context: > http://lucene.472066.n3.nabble.com/spatial-search-geofilt-does-not-work-tp4085551p4085590.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: spatial search, geofilt does not work

2013-08-19 Thread David Smiley (@MITRE.org)
"35.032242,35.032242", > "geodist(author_geo,35,35)":4.634071252404282}, > { > "author_geo":"35.04644,35.04644", > "geodist(author_geo,35,35)":6.674485609316976}, > { > "author_geo&quo

Re: spatial search, geofilt does not work

2013-08-19 Thread Mingfeng Yang
BTW: my schema.xml contains the following related lines. On Mon, Aug 19, 2013 at 2:02 PM, Mingfeng Yang wrote: > My solr index has a field called "author_geo" which contains the author's > location, and when I am trying to get all docs whose author are within 10 > km of 35.0,35.0 using the f

spatial search, geofilt does not work

2013-08-19 Thread Mingfeng Yang
My solr index has a field called "author_geo" which contains the author's location, and when I am trying to get all docs whose author are within 10 km of 35.0,35.0 using the following query. curl ' http://localhost/solr/select?q=*:*&fq={!geofilt%20sfield=author_geo}&pt=35.0,35.0&d=10&wt=json&inden