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
52
52
initializer.
53
53
54
54
``` py
55
- client = Client(" my-index" , username = " user " , password = " my-password" )
55
+ client = Client(" my-index" , password = " my-password" )
56
56
```
57
57
58
58
### Using core Redis commands
@@ -65,7 +65,7 @@ import datetime
65
65
66
66
from redisearch import Client
67
67
68
- START_TIME = datetime.datetime.now()
68
+ START_TIME = datetime.datetime.now().strftime( " %Y-%m- %d -%H:%M.%S " )
69
69
70
70
client = Client(" my-index" )
71
71
@@ -85,7 +85,7 @@ client = Client("my-index")
85
85
86
86
try :
87
87
client.info()
88
- except ResponseError
88
+ except ResponseError:
89
89
# Index does not exist. We need to create it!
90
90
```
91
91
@@ -108,7 +108,7 @@ index from within the Hashes that the index follows. The field types are:
108
108
109
109
* TextField
110
110
* TagField
111
- * NumericalField
111
+ * NumericField
112
112
* GeoField
113
113
114
114
For more information on what these field types mean, consult the [ RediSearch
You can’t perform that action at this time.
0 commit comments