Why Index not exist in Atlas when defined in c# class

Hi, i have this document defined , and in Atlas only have indexes for _id and _partitionKey no index is created to Name, why?
This index will exist only in local sync realm ?
public class FavoritedVerbete : RealmObject
{
[PrimaryKey]
public string _id { get; set; } = Guid.NewGuid().ToString(“N”);

    [Required]
    public string _partitionKey { get; set; } /* user Id */

    [Required]
    [Indexed]
    public string Name { get; set; }

Yes, indexes defined in your client-side models are applied only for the local database and will not affect your Atlas cluster. The reason is that you may have different client applications that have different query patterns and may have different local indexes.

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.