Byte[] referencing is used because a new norm object needs to be created for each clone, and the byte array is all that is needed for sharing between cloned readers. The current norm referencing is for sharing between readers whereas the byte[] referencing is for copy on write which is independent of reader references (i.e. incRef, decRef).

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public sealed class Norm : ICloneable
Visual Basic
Public NotInheritable Class Norm _
	Implements ICloneable
Visual C++
public ref class Norm sealed : ICloneable

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Index..::..SegmentReader..::..Norm

See Also