Weighting indexes with HDFS implementation