RediSearch / redisearch-py

RediSearch python client
https://redisearch.io
BSD 2-Clause "Simplified" License
221 stars 63 forks source link

command to check if a document already exists in the index #171

Open billiboy opened 2 years ago

billiboy commented 2 years ago

how do i do a check in the index to know if a document exists or not? I created an index which is based on prefixes with the hash. I tried looking for the command in the documentation but couldn't find anything that fixes my problem.

gkorland commented 2 years ago

See: the command FT.INFO - https://redis.io/commands/ft.info/ duplicate https://github.com/RediSearch/RediSearch/issues/2750