Skip to content

Commit 04ca665

Browse files
authored
Fix the Highlighting command argument in redisearch module (#54)
1 parent db04337 commit 04ca665

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

redisearch/src/main/java/io/github/dengliming/redismodule/redisearch/search/HighlightOptions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public void build(List<Object> args) {
4242
args.add(Keywords.HIGHLIGHT);
4343
if (fields != null) {
4444
args.add(Keywords.FIELDS);
45+
args.add(fields.length);
4546
for (String field : fields) {
4647
args.add(field);
4748
}

0 commit comments

Comments
 (0)