Skip to content

Commit 235194f

Browse files
Java: Update docs for VSS (valkey-io#2565)
* Update docs. --------- Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent ee4e448 commit 235194f

File tree

3 files changed

+219
-220
lines changed

3 files changed

+219
-220
lines changed

java/client/src/main/java/glide/api/commands/servermodules/FT.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ public static CompletableFuture<Map<GlideString, Object>[]> aggregate(
361361
* // example of using the API:
362362
* FTAggregateOptions options = FTAggregateOptions.builder()
363363
* .loadFields(new String[] {"__key"})
364-
* .addExpression(
364+
* .addClause(
365365
* new FTAggregateOptions.GroupBy(
366366
* new String[] {"@condition"},
367367
* new Reducer[] {
@@ -443,7 +443,7 @@ public static CompletableFuture<Map<GlideString, Object>[]> aggregate(
443443
* // example of using the API:
444444
* FTAggregateOptions options = FTAggregateOptions.builder()
445445
* .loadFields(new String[] {"__key"})
446-
* .addExpression(
446+
* .addClause(
447447
* new FTAggregateOptions.GroupBy(
448448
* new String[] {"@condition"},
449449
* new Reducer[] {
@@ -537,7 +537,7 @@ public static CompletableFuture<Object[]> profile(
537537
* @example
538538
* <pre>{@code
539539
* // example of using the API:
540-
* Map<String, Object> response = client.ftinfo("myIndex").get();
540+
* Map<String, Object> response = FT.info(client, "myIndex").get();
541541
* // the response contains data in the following format:
542542
* Map<String, Object> data = Map.of(
543543
* "index_name", gs("myIndex"),
@@ -596,7 +596,7 @@ public static CompletableFuture<Map<String, Object>> info(
596596
* @example
597597
* <pre>{@code
598598
* // example of using the API:
599-
* Map<String, Object> response = client.ftinfo(gs("myIndex")).get();
599+
* Map<String, Object> response = FT.info(client, gs("myIndex")).get();
600600
* // the response contains data in the following format:
601601
* Map<String, Object> data = Map.of(
602602
* "index_name", gs("myIndex"),

0 commit comments

Comments
 (0)