DotLucene 1.4 API Documentation

IndexReader.SetNorm Method (Int32, String, Byte)

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 doc,
   string field,
   byte val
);

See Also

IndexReader Class | Lucene.Net.Index Namespace | IndexReader.SetNorm Overload List | |