Some reason my Solr polygon queries are not returning any value when a search 
using decimal points, however, it works without decimal points or with all 
decimal but one. Have anyone encountered this problem?


Configs file:

fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType" 
geo="true" maxDistErr="0.001" distErrPct="0.025" distanceUnits="kilometers"

field name="geom" type="location_rpt" indexed="true" stored="true"


Query Works:

fq=Intersects(POLYGON((52 -2, 47 -2, 50 6, 53 20, 53 0, 52 -2))) or 
fq=Intersects(POLYGON((52.58 -2.53, 47.89 -2.05, 50.95 6.16, 53.40 20, 53.08 
0.18, 52.58 -2.53)))


Not working:

fq=Intersects(POLYGON((52.58 -2.53, 47.89 -2.05, 50.95 6.16, 53.40 20.05, 53.08 
0.18, 52.58 -2.53)))



My polygon search points are showing the right location when using a map. Not 
sure what's the issue here and how to resolve it. Please let me know if you 
have any question.

Thanks Saad


Thanks...
Saad Saimon
07342051925

Reply via email to