Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9270

Let spatialContextFactory attribute accept "JTS" and the old value

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2
    • Component/s: spatial
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      The spatialContextFactory attribute (sometimes set on RPT field) is interpreted by a Spatial4j SpatialContextFactory and is expected to be a class name. In the Solr adapter, for ease of use, it would be nice to accept simply "JTS".

      Furthermore the older value in 5x should be accepted with a logged warning. That would make upgrading easier.

        Attachments

          Activity

            People

            • Assignee:
              dsmiley David Smiley
              Reporter:
              dsmiley David Smiley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: