Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Remove duplicates when fetching the comments, the cache entries #138

@andrea-smiesna

Description

@andrea-smiesna

Prerequisite #15

An index that leverages data types in Redis was implemented for the comments and another index was implemented for the search property in each cache entry.
The comments and the entries are fetched from the Redis Cache (using the Redis Search) in 2 different API calls to Redis cache.

Find a way how to make it in just one call:

  1. merge the indexes if possible/
  2. filter out the duplicate values (entries) which are the result of the 2 searches

Metadata

Metadata

Assignees

No one assigned

    Labels

    code improvementImprovements to code or fixing tehnical debt

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions