Create a gist now

Instantly share code, notes, and snippets.

@katpadi /tomato.txt Secret
Created Feb 13, 2017

What would you like to do?
Tomato
SUBJECT: Tomato
FORMATTED DATA: {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
======= 1st ITERATION ====
Key per character iteration: t
The actual ZADD: zadd kupsearch:t 1 {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
======= 2nd ITERATION ====
Key per character iteration: to
The actual ZADD: zadd kupsearch:to 1 {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
======= 3rd ITERATION ====
Key per character iteration: tom
The actual ZADD: zadd kupsearch:tom 1 {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
======= 4th ITERATION ====
Key per character iteration: toma
The actual ZADD: zadd kupsearch:toma 1 {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
======= 5th ITERATION ====
Key per character iteration: tomat
The actual ZADD: zadd kupsearch:tomat 1 {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
======= 6th ITERATION ====
Key per character iteration: tomato
The actual ZADD: zadd kupsearch:tomato 1 {\"id\":3,\"label\":\"Tomato\",\"type\":\"Goods\"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment