diff --git a/bin/import.py b/bin/import.py index c15b87b..6c9b7b8 100644 --- a/bin/import.py +++ b/bin/import.py @@ -25,6 +25,7 @@ if args.f is not None: for element in elements: try: r.sadd('e:'+fields[i], element) + r.zincrby('t:'+fields[i], element) # ehash = hashlib.md5() ehash.update(element.encode('utf-8'))