@@ -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