Skip to content

s/RedisLabs/Redis/ in select places #151

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 2-Clause License

Copyright (c) 2017, Redis Labs
Copyright (c) 2017, Redis
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Total alerts](https://img.shields.io/lgtm/alerts/g/RediSearch/redisearch-py.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/RediSearch/redisearch-py/alerts/)

# RediSearch Python Client
[![Forum](https://img.shields.io/badge/Forum-RediSearch-blue)](https://forum.redislabs.com/c/modules/redisearch/)
[![Forum](https://img.shields.io/badge/Forum-RediSearch-blue)](https://forum..com/c/modules/redisearch/)
[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/xTbqgTB)

This is a Python search engine library that utilizes the [RediSearch Redis Module](http://redisearch.io) API.
Expand Down Expand Up @@ -112,7 +112,7 @@ index from within the Hashes that the index follows. The field types are:
* GeoField

For more information on what these field types mean, consult the [RediSearch
documentation](https://oss.redislabs.com/redisearch/Commands/#ftcreate) on
documentation](https://oss..com/redisearch/Commands/#ftcreate) on
the `FT.CREATE` command.

With redisearch-py, the schema is an iterable of `Field` instances. Once you
Expand Down Expand Up @@ -201,7 +201,7 @@ res = client.search(q)
```

For an explanation of these options, see the [RediSearch
documentation](https://oss.redislabs.com/redisearch/Commands/#ftsearch) for
documentation](https://oss..com/redisearch/Commands/#ftsearch) for
the `FT.SEARCH` command.

#### Query syntax
Expand Down Expand Up @@ -232,13 +232,13 @@ client.search("@published_year:[2020 2021]")
```

To learn more, see the [RediSearch
documentation](https://oss.redislabs.com/redisearch/Query_Syntax/) on query
documentation](https://oss..com/redisearch/Query_Syntax/) on query
syntax.

### Aggregations

This library contains a programmatic interface to run [aggregation
queries](https://oss.redislabs.com/redisearch/Aggregations/) with RediSearch.
queries](https://oss..com/redisearch/Aggregations/) with RediSearch.

#### Making an aggregation query

Expand Down Expand Up @@ -281,7 +281,7 @@ FT.AGGREGATE books-idx *

Aggregation queries return an `AggregateResult` object that contains the rows
returned for the query and a cursor if you're using the [cursor
API](https://oss.redislabs.com/redisearch/Aggregations/#cursor_api).
API](https://oss..com/redisearch/Aggregations/#cursor_api).

```py
from redisearch.aggregation import AggregateRequest, Asc
Expand Down Expand Up @@ -314,7 +314,7 @@ Out[54]:
#### Reducer functions

Notice from the example that we used an object from the `reducers` module.
See the [RediSearch documentation](https://oss.redislabs.com/redisearch/Aggregations/#groupby_reducers)
See the [RediSearch documentation](https://oss..com/redisearch/Aggregations/#groupby_reducers)
for more examples of reducer functions you can use when grouping results.

Reducer functions include an `alias()` method that gives the result of the
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "redisearch"
version = "2.1.0"
description = "RedisSearch Python Client"
authors = ["RedisLabs <oss@redislabs.com>"]
authors = ["Redis <oss@.com>"]
license = "BSD-3-Clause"
readme = "README.md"

Expand All @@ -25,7 +25,7 @@ keywords = ["Redis Search Extension"]
python = "^3.6.0"
redis = "^3.5.3"
six = "^1.16.0"
rmtest = {git = "https://github.com/RedisLabs/rmtest"}
rmtest = {git = "https://github.com/Redis/rmtest"}
rejson = "^0.5.4"
hiredis = [
{version = "^2.0.0", python = "^3.6"},
Expand Down