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

Deprecate GeoHashField, LatLonType, SpatialPointVectorFieldType, SpatialTermQueryPrefixTreeFieldType

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      The spatial fields in the issue title should be deprecated ASAP so that in Solr 8.0 we needn't include it anymore.
      Ishan Chattopadhyaya What do you think of me doing this for 6.6?

        Issue Links

          Activity

          Hide
          ichattopadhyaya Ishan Chattopadhyaya added a comment -

          Sure, +1 for 6.6.

          Show
          ichattopadhyaya Ishan Chattopadhyaya added a comment - Sure, +1 for 6.6.
          Hide
          dsmiley David Smiley added a comment -

          The attached patch simply marks these 4 classes as deprecated using both the Java annotation and javadoc, including suggested alternatives. I looked in the ref guide and only LatLonType is referenced, and it's already marked deprecated there (I did this when I added LatLonPointSpatialField).

          On master branch CHANGES.txt for 7.0 "Upgrading from Solr 6.x" I plan to add:

          • Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType. Instead, switch to LatLonPointSpatialField or SpatialRecursivePrefixTreeFieldType or RptWithGeometrySpatialField.
          Show
          dsmiley David Smiley added a comment - The attached patch simply marks these 4 classes as deprecated using both the Java annotation and javadoc, including suggested alternatives. I looked in the ref guide and only LatLonType is referenced, and it's already marked deprecated there (I did this when I added LatLonPointSpatialField). On master branch CHANGES.txt for 7.0 "Upgrading from Solr 6.x" I plan to add: Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType. Instead, switch to LatLonPointSpatialField or SpatialRecursivePrefixTreeFieldType or RptWithGeometrySpatialField.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 92ed8b4220d1427a0c07eecaab422c2d22a2ce8c in lucene-solr's branch refs/heads/master from David Smiley
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=92ed8b4 ]

          SOLR-10729: Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType

          Show
          jira-bot ASF subversion and git services added a comment - Commit 92ed8b4220d1427a0c07eecaab422c2d22a2ce8c in lucene-solr's branch refs/heads/master from David Smiley [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=92ed8b4 ] SOLR-10729 : Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit f79b3cb71e7aab73bc12332c4dd8e9d2e882214f in lucene-solr's branch refs/heads/branch_6x from David Smiley
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f79b3cb ]

          SOLR-10729: Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType

          (cherry picked from commit 92ed8b4)

          Show
          jira-bot ASF subversion and git services added a comment - Commit f79b3cb71e7aab73bc12332c4dd8e9d2e882214f in lucene-solr's branch refs/heads/branch_6x from David Smiley [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f79b3cb ] SOLR-10729 : Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType (cherry picked from commit 92ed8b4)
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 5b9dd6d3bfc09637f18ebbf74c4514dcfcfc5df9 in lucene-solr's branch refs/heads/branch_6_6 from David Smiley
          [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5b9dd6d ]

          SOLR-10729: Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType

          (cherry picked from commit 92ed8b4)

          Show
          jira-bot ASF subversion and git services added a comment - Commit 5b9dd6d3bfc09637f18ebbf74c4514dcfcfc5df9 in lucene-solr's branch refs/heads/branch_6_6 from David Smiley [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5b9dd6d ] SOLR-10729 : Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType (cherry picked from commit 92ed8b4)

            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:

                Development