File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ To connect with a username and/or password, pass those options to the client
5252initializer.
5353
5454``` py
55- client = Client(" my-index" , username = " user " , password = " my-password" )
55+ client = Client(" my-index" , password = " my-password" )
5656```
5757
5858### Using core Redis commands
@@ -65,7 +65,7 @@ import datetime
6565
6666from redisearch import Client
6767
68- START_TIME = datetime.datetime.now()
68+ START_TIME = datetime.datetime.now().strftime( " %Y-%m- %d -%H:%M.%S " )
6969
7070client = Client(" my-index" )
7171
@@ -85,7 +85,7 @@ client = Client("my-index")
8585
8686try :
8787 client.info()
88- except ResponseError
88+ except ResponseError:
8989 # Index does not exist. We need to create it!
9090```
9191
@@ -108,7 +108,7 @@ index from within the Hashes that the index follows. The field types are:
108108
109109* TextField
110110* TagField
111- * NumericalField
111+ * NumericField
112112* GeoField
113113
114114For more information on what these field types mean, consult the [ RediSearch
You can’t perform that action at this time.
0 commit comments