Skip to content

Commit a1d71dd

Browse files
committed
move deprecated warnings on the bottom
1 parent 1defc39 commit a1d71dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

search_commands.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -831,14 +831,14 @@ func (c cmdable) FTAlter(ctx context.Context, index string, skipInitialScan bool
831831
return cmd
832832
}
833833

834-
// Deprecated: FTConfigGet is deprecated in Redis 8.
835-
// All configuration will be done with the CONFIG GET command.
836-
// For more information check [Client.ConfigGet] and [CONFIG GET Documentation]
837-
//
838834
// Retrieves the value of a RediSearch configuration parameter.
839835
// The 'option' parameter specifies the configuration parameter to retrieve.
840836
// For more information, please refer to the Redis [FT.CONFIG GET] documentation.
841837
//
838+
// Deprecated: FTConfigGet is deprecated in Redis 8.
839+
// All configuration will be done with the CONFIG GET command.
840+
// For more information check [Client.ConfigGet] and [CONFIG GET Documentation]
841+
//
842842
// [CONFIG GET Documentation]: https://redis.io/commands/config-get/
843843
// [FT.CONFIG GET]: https://redis.io/commands/ft.config-get/
844844
func (c cmdable) FTConfigGet(ctx context.Context, option string) *MapMapStringInterfaceCmd {
@@ -847,14 +847,14 @@ func (c cmdable) FTConfigGet(ctx context.Context, option string) *MapMapStringIn
847847
return cmd
848848
}
849849

850-
// Deprecated: FTConfigSet is deprecated in Redis 8.
851-
// All configuration will be done with the CONFIG SET command.
852-
// For more information check [Client.ConfigSet] and [CONFIG SET Documentation]
853-
//
854850
// Sets the value of a RediSearch configuration parameter.
855851
// The 'option' parameter specifies the configuration parameter to set, and the 'value' parameter specifies the new value.
856852
// For more information, please refer to the Redis [FT.CONFIG SET] documentation.
857853
//
854+
// Deprecated: FTConfigSet is deprecated in Redis 8.
855+
// All configuration will be done with the CONFIG SET command.
856+
// For more information check [Client.ConfigSet] and [CONFIG SET Documentation]
857+
//
858858
// [CONFIG SET Documentation]: https://redis.io/commands/config-set/
859859
// [FT.CONFIG SET]: https://redis.io/commands/ft.config-set/
860860
func (c cmdable) FTConfigSet(ctx context.Context, option string, value interface{}) *StatusCmd {

0 commit comments

Comments
 (0)