Re: Solr Spatial search with self-intersecting polygons

2015-12-10 Thread david.w.smi...@gmail.com
Hello, To have Solr be tolerant to invalid polygons, use the “validationRule” attribute on the field type definition. This setting and some others are documented here: https://locationtech.github.io/spatial4j/apidocs/com/spatial4j/core/context/jts/JtsSpatialContextFactory.html Try using repairBuf

Solr Spatial search with self-intersecting polygons

2015-12-07 Thread Vishnu perumal
Hi, I’m using Solr 4.10.2 with an up to date version of JTS and spatial4j. As field type in my schema.xml i’m using “location_rpt” like the description in the documentation. ( http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4#How_to_Use) location_rpt field type setup: My filter quer

Solr Spatial search with self-intersecting polygons

2015-02-24 Thread Prateek Sachan
Hi, I'm using Solr 4.10.3 As field type in my schema.xml. I'm using "location_rpt" like the description in the documentation. Everything works good and fine. I'm able to index points and include a POLYGON search in my query. However, it throws an exception in some cases where the Polygon in my