lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From puneeta <>
Subject Polygon search query working but NOT Multipolygon
Date Wed, 28 Jun 2017 10:44:57 GMT
 I am new to Solr Geospatial data and have set up JTS within solr. I have
geo spatial data with Multipolygons. I am passing the coordinates and trying
to find out which multipolygon contains those coordinates.However, The
search query is working fine if I insert the data as a polygon. The same is
not working if my data is inserted as a Multipolygon. I am unable to figure
out what am I missing. Can anyone suggest where am I going wrong?

Data as Polygon:
 {     "parcel_id":"6",
        "geo":["POLYGON((-86.452970463 32.449739005, 
                                  -86.452889912 32.4494390510001, 
                                  -86.453365379 32.449428021000095, 
                                  -86.453514854 32.449424535999995))"]

Data as Multipolygon:

 {     "parcel_id":"6",
        "geo":["MULTIPOLYGON(((-86.452970463 32.449739005, 
                                  -86.452889912 32.4494390510001, 
                                  -86.453365379 32.449428021000095, 
                                  -86.453514854 32.449424535999995)))"]

My search query:
fq=geo:"Intersects(-86.4530978929999 32.449735102)"

This device surely lies between the polygon (My polygon coordinates are many
more in the actual data. To reduce the size here I have omited few of the

The query is returning only the polygon data. The multipolygon search is not

Any help is highly appreciated.

Thanks in Advance,

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

View raw message