Apache Lucene open-source search software
SOLR-12274: Solr Ref Guide, spatial-search: Corrected obsolete JTS license info & location
David Smiley4f1b83bd8503
diff --git a/solr/solr-ref-guide/src/spatial-search.adoc b/solr/solr-ref-guide/src/spatial-search.adocindex 315fa2ae79c..8619e3ff6f9 100644--- a/solr/solr-ref-guide/src/spatial-search.adoc+++ b/solr/solr-ref-guide/src/spatial-search.adoc@@ -296,11 +296,9 @@ Underlying Solr is the Spatial4j library which implements them. To support otheThe https://github.com/locationtech/jts[JTS Topology Suite] is a popular computational geometry library with a Euclidean/cartesian (flat 2D) model.It supports a variety of shapes including polygons, buffering shapes, and some invalid polygon repair fall-backs.With the help of Spatial4j, included with Solr, the polygons support dateline (anti-meridian) crossing.-Unfortunately Solr cannot include JTS due to its LGPL license.You must download it (a JAR file) and put that in a special location internal to Solr: `SOLR_INSTALL/server/solr-webapp/webapp/WEB-INF/lib/`.-You can readily download it here: https://repo1.maven.org/maven2/com/vividsolutions/jts-core/.+You can readily download it here: http://central.maven.org/maven2/org/locationtech/jts/jts-core/1.15.0/._It will not work if placed in other more typical Solr lib directories, unfortunately._-JTS's license is expected to be transitioned to BSD by the end of 2017.Set the `spatialContextFactory` attribute on the field type to `JTS`.