diff --git a/connectors/riot-gen/src/test/java/com/redis/riot/gen/TestGen.java b/connectors/riot-gen/src/test/java/com/redis/riot/gen/TestGen.java index 9dc42dbdd..6e3568ae0 100644 --- a/connectors/riot-gen/src/test/java/com/redis/riot/gen/TestGen.java +++ b/connectors/riot-gen/src/test/java/com/redis/riot/gen/TestGen.java @@ -94,7 +94,7 @@ public void genFakerIndexIntrospection() throws Exception { String FIELD_OUNCES = "ounces"; RedisModulesClient modulesClient = RedisModulesClient.create(REDIS_MODULES.getRedisURI()); StatefulRedisModulesConnection connection = modulesClient.connect(); - connection.sync().create(INDEX, CreateOptions.builder().prefix("beer:").build(), Field.tag(FIELD_ID).sortable(true).build(), Field.text(FIELD_NAME).sortable(true).build(), Field.text(FIELD_STYLE).matcher(Field.Text.PhoneticMatcher.English).sortable(true).build(), Field.numeric(FIELD_ABV).sortable(true).build(), Field.numeric(FIELD_OUNCES).sortable(true).build()); + connection.sync().create(INDEX, CreateOptions.builder().prefix("beer:").build(), Field.tag(FIELD_ID).sortable().build(), Field.text(FIELD_NAME).sortable().build(), Field.text(FIELD_STYLE).matcher(Field.Text.PhoneticMatcher.English).sortable().build(), Field.numeric(FIELD_ABV).sortable().build(), Field.numeric(FIELD_OUNCES).sortable().build()); execute("import-infer", REDIS_MODULES); SearchResults results = connection.sync().search(INDEX, "*"); Assertions.assertEquals(1000, results.getCount());