Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1871

JAVA SDK FTS query: unsupported Geospatial query coordinate format: Geohash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.2.0
    • FTS
    • None
    • 1

    Description

      For now we have just one way to create Coordinate instance for different types of Geospatial queries:

      public static Coordinate ofLonLat(double lon, double lat) {
          return new Coordinate(lon, lat);
      }
      

      According to official Couchbase Server documentation 

      https://docs.couchbase.com/server/current/fts/fts-geospatial-queries.html

      we need to support another coordinate format: Geohash

      https://en.wikipedia.org/wiki/Geohash

      Coyrresponding query looks like this:

      "polygon_points": [
        "9q8zjbkp",
        "9q8yvvdh",
        "9q8yyp1e",
        "9q8yyrw8",
        "9q8zn83x",
        "9q8zjb0j"
      ]
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            david.nault David Nault
            evgeny.makarenko Evgeny Makarenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty