You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to exact match on a Guid. So I am using the following mapping:
[ElasticProperty(OmitNorms = true, Index = FieldIndexOption.not_analyzed)]
public Guid OrganisationId { get; set; }
But NEST omits Guid types (I think). So I have to use a string for the OrganisationId (which is an easy fix) but I couldn't work out what was going on for a while because my primary key field was also a Guid named 'Id' and that was being picked up by NEST and used as the elastic _id field.
Cheers
Jake
The text was updated successfully, but these errors were encountered:
I want to be able to exact match on a Guid. So I am using the following mapping:
But NEST omits Guid types (I think). So I have to use a string for the OrganisationId (which is an easy fix) but I couldn't work out what was going on for a while because my primary key field was also a Guid named 'Id' and that was being picked up by NEST and used as the elastic _id field.
Cheers
Jake
The text was updated successfully, but these errors were encountered: