Skip to content

Client.drop_index uses the deprecated FT.DROP command, destroying all indexed Hashes #114

@abrookins

Description

@abrookins

FT.DROP is deprecated and by default deletes the indexed Hashes. Calling Client.drop_index thus deletes the indexed hashes.

This library should use FT.DROPINDEX for its drop command and expose the DD option to control whether or not to delete Hashes, with 'False' being the default. This way, dropping an index will not destroy the Hashes by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions