We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e687e4 commit a708535Copy full SHA for a708535
redis-om-spring/src/main/java/com/redis/om/spring/RediSearchIndexer.java
@@ -171,8 +171,9 @@ public void createIndexFor(Class<?> cl) {
171
172
index.setPrefixes(entityPrefix);
173
IndexOptions ops = Client.IndexOptions.defaultOptions().setDefinition(index);
174
- opsForSearch.createIndex(schema, ops);
175
addKeySpaceMapping(entityPrefix, cl);
+ opsForSearch.createIndex(schema, ops);
176
+
177
178
// TTL
179
if (cl.isAnnotationPresent(Document.class)) {
0 commit comments