Creating an index in non zero DB
When attempting to create an index in a database other than DB 0 using the FT.CREATE command, we are throwing an error.
This matches Redis behavior, but it would be useful if DragonflyDB supported indexes in multiple databases.
- [ ] First, determine whether the current architecture can support FT.CREATE in any database. If possible, define whether indexes should be global across all databases or isolated within each database
- [ ] Implement it
why do you think it's useful? Please note that most Search users are coming from Redis workloads and they mostly use cluster mode, so they do not use multiple databases.
@romange I don’t believe this is very useful, which is why I marked the issue as minor. However, since we received a request about it on Discord, I decided to create an issue for the user. This way, we can document our thoughts and feedback regarding the request here.
Can you paste here the link to the discord message then?
https://discord.com/channels/981533931486724126/1345295520561631263/1345309959524454451