SAP Knowledge Base Article - Preview

3333628 - How to add JTS Topology Suit lib for Solr in CCV2


The 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. You must download jts-core-*.jar  and put that in a special location internal to Solr: SOLR_INSTALL/server/solr-webapp/webapp/WEB-INF/lib/.  

The aim of this KBA to guide how to deploy JTS lib for Solr in CCV2.

This KBA is only a showcase of how this third party library can be adopted within Solr customization framework, but SAP doesn’t provide official support to its further configuration and customization.



  • Product version: SAP Commerce Cloud 2211
  • Product version: SAP Commerce Cloud 2205
  • Product version: SAP Commerce Cloud 2105
  • Product version: SAP Commerce Cloud 2011
  • Product version: SAP Commerce Cloud 2005
  • Product version: SAP Commerce Cloud 1905


SAP Commerce Cloud 1905 ; SAP Commerce Cloud 2005 ; SAP Commerce Cloud 2011 ; SAP Commerce Cloud 2105 ; SAP Commerce Cloud 2205 ; SAP Commerce Cloud 2211


JTS,Solr , KBA , CEC-SCC-COM-SRC-SER , Search and Navigation , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.