fab and api updated
fab and api updated

Full changelist:

Fab has been modified to support two commands "runFD" and "runFD_coldStart"
runFD collects articles for a [currentTime:currentTime - fd.windowSize]
runFD_coldStart collects articles for fd.coldStartWindowSize interval

fd.coldStartWindowSize and fd.windowSize are specified in config.yaml

redis now stores a list of last "dump.keyCacheSize" number of deltas in key "dumpKeyCache"
getAllCacheDumps() in api.py collects all dumps whose keys are stored in cache

Why? The first time, runFD_coldStart is to be run which collects a lot of articles
Then, every 10 mins, runFD can be run
At page generation time, we collect last N delta dumps and merge them, and cluster them

sisirkoppaka/articur8,sisirkoppaka/articur8,sisirkoppaka/articur8,sisirkoppaka/articur8