Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing documentation errors #138

Merged
merged 1 commit into from
Jul 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To connect with a username and/or password, pass those options to the client
initializer.

```py
client = Client("my-index", username="user", password="my-password")
client = Client("my-index", password="my-password")
```

### Using core Redis commands
Expand All @@ -65,7 +65,7 @@ import datetime

from redisearch import Client

START_TIME = datetime.datetime.now()
START_TIME = datetime.datetime.now().strftime("%Y-%m-%d-%H:%M.%S")

client = Client("my-index")

Expand All @@ -85,7 +85,7 @@ client = Client("my-index")

try:
client.info()
except ResponseError
except ResponseError:
# Index does not exist. We need to create it!
```

Expand All @@ -108,7 +108,7 @@ index from within the Hashes that the index follows. The field types are:

* TextField
* TagField
* NumericalField
* NumericField
* GeoField

For more information on what these field types mean, consult the [RediSearch
Expand Down