Open cnvsuresh opened 3 years ago
I've found the Redis insight library. Installed and checked what are all the values exist. Surprisingly, I've seen all the docs without index-based. It's storing all the keys plainly in DB.
Is there any index name concept? If yes what I've done wrongly in this. As per the insight, the library looks like not exists.
Hi,
I'm trying to use this library. When i was searching for a key in the stored docs it's giving correctly. After that, I've tried to create another index from the same code. Without trying to store any docs in the new index if I'm trying to run, it's giving the previously created index results with this new index name surprisingly. Can I get help on that to solve this issue?
First index details `from flask import request from flask_restful import Resource from redisearch import Client, IndexDefinition, Query, TextField, TagField
index_name = 'myIndexQuery!' host = 'redis-xxxxxxxx.redislabs.com' port = 12906 password = 'xxxxxx'
class RedisClass(Resource):
Second index details:
`from flask import request from flask_restful import Resource from redisearch import Client, IndexDefinition, Query, TextField, TagField
index_name = 'Gupta_myIndexQuery' host = 'redis-xxxxxx.redislabs.com' port = 12906 password = 'xxxxx'
class RedisSearchClass(Resource):
`