Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fixed wrong field definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhirsch committed Oct 27, 2018
1 parent 330bd2f commit 496d468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AzureSearch/Index/Field.php
Expand Up @@ -45,15 +45,15 @@ final class Field
* the value returned will be rounded up to milliseconds (for example,
* 2015-04-15T10:30:09.7552052Z will be returned as 2015-04-15T10:30:09.7550000Z).
*/
const TYPE_DATETIMEOFFSET = "Emd.DateTimeOffset";
const TYPE_DATETIMEOFFSET = "Edm.DateTimeOffset";

/**
* A point representing a geographic location on the globe. For request and response
* bodies the representation of values of this type follows the GeoJSON "Point"
* type format. For URLs OData uses a literal form based on the WKT standard.
* A point literal is constructed as geography'POINT(lon lat)'.
*/
const TYPE_GEOGRAPHYPOINT = "Emd.GeographyPoint";
const TYPE_GEOGRAPHYPOINT = "Edm.GeographyPoint";

/**
* @var string
Expand Down

0 comments on commit 496d468

Please sign in to comment.