From a26f521759c623c2fae367def739833be2c33101 Mon Sep 17 00:00:00 2001 From: Julien Ruaux Date: Fri, 27 Aug 2021 11:30:22 -0700 Subject: [PATCH] Fixed compilation issue --- .../riot-gen/src/test/java/com/redis/riot/gen/TestGen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());