Skip to content

Commit 4a3cd36

Browse files
authored
Ref Guide: Update required JTS version (#2273)
Due to API changes a JTS 1.17.x version is currently required. The appropriate JTS version may be determined based on the JTS version used for tests in Lucene, referenced in https://github.com/apache/lucene/blob/main/versions.props Strictly speaking, the appropriate JTS version for the version of spatial4j used by the Lucene version used in Solr should always be referenced - either this needs to be kept manually updated here (or somehow automatically in the build process?) or the process of finding the correct JTS version should be described here in a clear and concise way rather than just pointing to a specific version.
1 parent 45fa999 commit 4a3cd36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solr/solr-ref-guide/modules/query-guide/pages/spatial-search.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ The https://github.com/locationtech/jts[JTS Topology Suite] is a popular computa
480480
It supports a variety of shapes including polygons, buffering shapes, and some invalid polygon repair fall-backs.
481481
With the help of Spatial4j, included with Solr, the polygons support dateline (anti-meridian) crossing.
482482
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/`.
483-
You can readily download it here: https://mvnrepository.com/artifact/org.locationtech.jts/jts-core/1.15.0.
483+
You can readily download it here: https://mvnrepository.com/artifact/org.locationtech.jts/jts-core/1.17.1.
484484
_It will not work if placed in other more typical Solr lib directories, unfortunately._
485485

486486
Set the `spatialContextFactory` attribute on the field type to `JTS`.

0 commit comments

Comments
 (0)