Change long to float for Weight

Elasitcsearch itself accepts float type weight