spring-projects / spring-projects/spring-data-redis

Create zset index for sorting and range query [DATAREDIS-814]

Open
#1,387 7 comments 0 reactions 1 assignee View on GitHub

@mp911de is already working on this.

Since Dec 30, 2020.

in: repository type: enhancement
Dominant language
Java
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Yan Ma opened DATAREDIS-814 and commented

We are using Redis as the main in-memory DB. Our business requirements heavily demand range queries based on attributes of timestamp type or numeric type.

We need an easy way to define the indexes that enable range queries such as LessThan, Between and GreaterThan, etc.

Also we need the complex queries that are based on simple indexes and the range query indexes.

I updated the relevant code in index resolving, writing, query and deleting to support above requirements. Would like to contribute the code to spring-data-redis so that more people can benefit from this.

 


Referenced from: pull request https://github.com/spring-projects/spring-data-redis/pull/471

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.