update category scores according to the maxHits of their queries: get a training set relative to the representation of the category in the index