Open chaitradalawai opened 2 years ago
Please notice JRediSearch is deprecated and you should use Jedis 4.2 which has built in support for RediSearch.
It now as simple as:
client.ftSearch()
thanks. But could you please explain about client connection establishment and closing to jedis pool.
Does the new Client() establishes the connection to jedis pool? After querying/loading the cache with newly created client object, do we have to call the client.close() each time ? What happens if the close method isn't called? And after we close the connection using client.close(), client object has to be instantiated again or the reference to previously connected object should work?
I am using Redisearch through jredisearch api for storing the data in Redisearch Indexes. Please help me know about the connection to Redis operations which we do using new Client() and client.close(). Does the new Client() establishes the connection to jedis pool? After querying/loading the cache with newly created client object, do we have to call the client.close() each time ? What happens if the close method isn't called? And after we close the connection using client.close(), client object has to be instantiated again or the reference to previously connected object should work?
Thank you.