if(data[i].id >= 1000){
        client.index({
        index: 'test',
        type: 'test',
        id: ""+data[i].id,