Re: How to use geospatial search to find the locations within polygon

2016-03-06 Thread Pradeep Chandra
Thank u so much David & Jack for ur response. I downloaded the JTS jar file and pasted in server/lib directory. Now it's working and giving the results. Once again Thank u both of u.. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-use-geospatial-searc

Re: How to use geospatial search to find the locations within polygon

2016-03-05 Thread Jack Krupansky
s.jts.geom.Lineal\n\tat > > java.net.URLClassLoader$1.run(URLClassLoader.java:366)\n\tat > > java.net.URLClassLoader$1.run(URLClassLoader.java:355)\n\tat > > java.security.AccessController.doPrivileged(Native Method)\n\tat > > java.net.URLClassLoader.findClass(URLClassLoa

Re: How to use geospatial search to find the locations within polygon

2016-03-05 Thread david.w.smi...@gmail.com
se.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)\n\tat > org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)\n\t... > 51 more\n","code":500}} > > Thanks > M Pradeep Chandra > >

Re: How to use geospatial search to find the locations within polygon

2016-03-05 Thread david.w.smi...@gmail.com
Yes you're right Jack. The ref guide page on this needs more. On Fri, Mar 4, 2016 at 11:36 AM Jack Krupansky wrote: > It would be nice for the doc to say that - describe when IsWithin is and > isn't appropriate. And give some examples as well for people to copy/mimic. > > -- Jack Krupansky > >

Re: How to use geospatial search to find the locations within polygon

2016-03-04 Thread Pradeep Chandra
pClassLoader.loadClass(WebAppClassLoader.java:450)\n\tat org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:403)\n\t... 51 more\n","code":500}} Thanks M Pradeep Chandra -- View this message in context: http://lucene.472066.n3.nabble.com/How-t

Re: How to use geospatial search to find the locations within polygon

2016-03-04 Thread Jack Krupansky
It would be nice for the doc to say that - describe when IsWithin is and isn't appropriate. And give some examples as well for people to copy/mimic. -- Jack Krupansky On Fri, Mar 4, 2016 at 10:20 AM, david.w.smi...@gmail.com < david.w.smi...@gmail.com> wrote: > First of all, assuming this is a s

Re: How to use geospatial search to find the locations within polygon

2016-03-04 Thread david.w.smi...@gmail.com
First of all, assuming this is a standard point-in-polygon situation, use the Intersects predicate -- with point data it's semantically the same as IsWithin and Intersects is much faster. I don't know why you used isDisjointTo in your 2nd example; maybe you want to find when they don't touch? Any

How to use geospatial search to find the locations within polygon

2016-03-03 Thread Pradeepchandra Mulpuru
Hi Sir, I have a question on Apache Solr Spatial search. I have a json type data of City, Latitude & Longitude. I indexed those fields with locm_place of the type location_rpt. Now I want to give a polygon as a filter query in order to get the City names located in that polygon. I don't have any i