lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (" <>
Subject Re: Problem with migration to SolrAdaptersForLuceneSpatial4
Date Mon, 26 Nov 2012 15:52:45 GMT
Hi Viacheslav,

1. You don't need JTS unless you're using polygons or WKT and your examples
uses neither.  So you can remove the spatialContext attribute to use the
default, and remove the JTS jar.  But that shouldn't be related to your
reported problem.

2. The units for d= in the circle are in degrees (111.2 km per degree) --
this is why units="degrees" on the field type.  Granted this
misunderstanding should yield a larger circle than what you intended, and so
doesn't explain your reported problem.

Honestly I'm a bit stumped as what you are doing should work.  I assume of
course you indexed your points into this field like <field
name="some_loc">45.15,-93.85</field>   Can you try varying some things, like
using a rectangle query, perhaps even of the whole world?  Remove
spatialContext attribute  (no need to re-index for points)?

By the way, the "boost" attribute on your field is strange to me; I didn't
know you could do that; are you sure you can?  I suspect it is erroneous.

~ David

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message