Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Ref Guide: Update required JTS version (#2273)

ejn4a3cd362a01b
diff --git a/solr/solr-ref-guide/modules/query-guide/pages/spatial-search.adoc b/solr/solr-ref-guide/modules/query-guide/pages/spatial-search.adoc
index 4b25e51a9c9..c7a8bda74e9 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/spatial-search.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/spatial-search.adoc
@@ -480,7 +480,7 @@ The https://github.com/locationtech/jts[JTS Topology Suite] is a popular computa
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.
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://mvnrepository.com/artifact/org.locationtech.jts/jts-core/1.15.0.
+You can readily download it here: https://mvnrepository.com/artifact/org.locationtech.jts/jts-core/1.17.1.
_It will not work if placed in other more typical Solr lib directories, unfortunately._
Set the `spatialContextFactory` attribute on the field type to `JTS`.