DotLucene 1.4 API Documentation |

# 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 | |