Re: Getting the error - The field '*********' does not support spatial filtering

2018-02-19 Thread Erick Erickson
bq: I was able to get it to work with after I removed my schema.xml and modified the managed-schema to add my fields That's fine. You have three options and they can be confusing: 1> use classic schema (i.e. schema.xml). Requires that you replace the managed schema definition with classic in solr

Re: Getting the error - The field '*********' does not support spatial filtering

2018-02-19 Thread Aakanksha Gupta
Thanks David. That was helpful. I was able to get it to work with after I removed my schema.xml and modified the managed-schema to add my fields. I'm not sure if this is the right thing to do, but this is how I got it to work :) On Mon, Feb 19, 2018 at 7:54 AM, Howe, David wrote: > Hi Aakanksha,

RE: Getting the error - The field '*********' does not support spatial filtering

2018-02-18 Thread Howe, David
Hi Aakanksha, We use the following for geo queries which works for us: /solr/core/select?defType=edismax&indent=on&ps=0&start=0&wt=json&sow=true&hl=on&hl.fl=*&fq=%7B!geofilt%7D&pt=-6.08165,145.8612430&d=10&sfield=geoLocation&sort=geodist()%20asc&rows=10&fl=*,score,distance:geodist() This gives u