You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Shenbagarajan <sh...@raremile.com> on 2015/12/15 10:48:47 UTC
Issue in Geospatial Search
Hello,
I am trying to implement geo spatial search in solr by referring the below
site.
https://cwiki.apache.org/confluence/display/solr/Spatial+Search
Everytime i try to execute i am getting the same error as below.
"msg":"The field latlon does not support spatial filtering",
When i try to run the same query in Solr 4.10 its working fine without any
issues. But in Solr 5.3 its not working properly. Direct me to figure out
where the issue is as i am stuck with it:(
Thanks,
Shen.
--
View this message in context: http://lucene.472066.n3.nabble.com/Issue-in-Geospatial-Search-tp4245441.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Issue in Geospatial Search
Posted by Shenbagarajan <sh...@raremile.com>.
Below is the configuration in my managedschema.xml
<fieldType name="location" class="solr.LatLonType"
subFieldSuffix="_coordinate"/>
<field name="latlon" type="location" multiValued="true" indexed="true"
stored="true"/>
--
View this message in context: http://lucene.472066.n3.nabble.com/Issue-in-Geospatial-Search-tp4245441p4245451.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Issue in Geospatial Search
Posted by davidphilip cherian <da...@gmail.com>.
What is the fieldType of the field "latlon" in older schema as well as new
schema?
Have you confirmed that both are same?
On Tue, Dec 15, 2015 at 3:18 PM, Shenbagarajan <sh...@raremile.com>
wrote:
> Hello,
>
> I am trying to implement geo spatial search in solr by referring the below
> site.
> https://cwiki.apache.org/confluence/display/solr/Spatial+Search
>
> Everytime i try to execute i am getting the same error as below.
> "msg":"The field latlon does not support spatial filtering",
>
> When i try to run the same query in Solr 4.10 its working fine without any
> issues. But in Solr 5.3 its not working properly. Direct me to figure out
> where the issue is as i am stuck with it:(
>
> Thanks,
> Shen.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Issue-in-Geospatial-Search-tp4245441.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>