0

I would like to create an index on a UUID field of my entity object, but the index is not created (e.g. order:user does not exist in redis)

@RedisHash("order")
public class Order {

    @Id
    private UUID id;

    @Indexed
    private UUID user;

    ...

}

If I change the type of the field to String, the index is created.

Note: RedisCustomConversions for UUIDs is set: Spring Data Redis - UUID id - ConverterNotFoundException

nagy.zsolt.hun
  • 6,292
  • 12
  • 56
  • 95

0 Answers0