Javadoc
Returns the value of the weightField
for the current document.
Retrieves the value for the weightField
if it's stored (using doc
)
or if it's indexed as
NumericDocValues (using docId
) for the document.
If no value is found, then the weight is 0.