Lucene.Net 1.9.1 Class Library

IndexReader.SetNorm Method

Expert: Resets the normalization factor for the named field of the named document. The norm represents the product of the field's {@link Field#SetBoost(float) boost} and its {@link Similarity#LengthNorm(String, int) length normalization}. Thus, to preserve the length normalization values when resetting this, one should base the new value upon the old.

Overload List

Expert: Resets the normalization factor for the named field of the named document. The norm represents the product of the field's {@link Field#SetBoost(float) boost} and its {@link Similarity#LengthNorm(String, int) length normalization}. Thus, to preserve the length normalization values when resetting this, one should base the new value upon the old.

public void SetNorm(int,string,byte);

Expert: Resets the normalization factor for the named field of the named document.

public virtual void SetNorm(int,string,float);

See Also

IndexReader Class | Lucene.Net.Index Namespace | |