Skip to content

'Invalid field type for field INDEXMISSING #529

Closed
@Jimmys20

Description

@Jimmys20

Hello, I'm running into following exception after updating Redis.OM nuget package from 0.7.6 to 1.0.0.

System.Exception: 'Invalid field type for field `INDEXMISSING`
Failed on FT.CREATE playerentity-idx ON Json PREFIX 1 Player SCHEMA $.UniquePlayerId AS UniquePlayerId TAG SEPARATOR | INDEXMISSING INDEXEMPTY'

Inner Exception
RedisServerException: Invalid field type for field `INDEXMISSING`

The exception is thrown during index creation

await _provider.Connection.CreateIndexAsync(typeof(PlayerEntity));

[Document(StorageType = StorageType.Json, Prefixes = ["Player"])]
public class PlayerEntity
{
  [RedisIdField, Indexed] public string UniquePlayerId { get; set; }
  // ... other properties without attributes
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions