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

Make specifying FTS geo coordinates less error-prone

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.4.4
    • None
    • None
    • None
    • 0

    Description

      Suggested release note:

      Coordinates in Full-Text Search geographic queries can now be specified using a staged builder, so it's harder to accidentally swap the latitude and longitude components. Example usage:

      Coordinate eiffelTower = Coordinate.lat(48.858093).lon(2.294694);
      

      Or, if you prefer to specify longitude first:

      Coordinate eiffelTower = Coordinate.lon(2.294694).lat(48.858093);
      

      Attachments

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

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty