Is it possible I could store like an array of objects in an object? That’ll reduce the number of set operations I do by probably like 100 - 200 times and I wouldn’t even need search module if that was possible
Basically to say, if it’s possible that way, I have 1 guild object, in which I’ll set all channels of that guild as an array inside that guild, so totally 1 set would be enough. But in my implementation, I set 1 guild, and X channels separately so it’ll be 1 + X set operations, and I’ll have to use search to get those channels for that guild, if that makes sense?
I could provide an example object if needed but can’t currently
you can store array of objects in json. however take into account that huge objects are slower, so if your access patterns change only part of the object (remove/add items from the array), you may find storing separately more efficient
But that’d mean I’d have to do millions of set operations compared to just hundreds of thousands initially so maybe I’ll just try both and see which fits me well, could you tell me when I could test this search functionality?
PS: please ping me when replying or reply with mention @ON, I keep forgetting to check this otherwise
@praiseworthy-antelop you can take the latest version v1.10
Been busy, will do soon
hi we also use redis search using redis-om with python
having same problem of scalability
is this feature FT search completed ?
Yes, I’ll check out redis-om, we might not support all of their arguments, so it might not work because of very small features missing
You can already try it out manually as FT command should work with basic use cases, but I understand it’s not an option for many who depend on libraries
thanks for understanding