Apache Lucene.Net 2.4.0 Class Library API

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 Lucene.Net.Documents.Fieldable#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 value_Renamed
);

See Also

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