Lucene.Net.Index.IndexReader.Norms C# (CSharp) Method

Norms() public abstract method

Reads the byte-encoded normalization factor for the named field of every document. This is used by the search code to score documents.
public abstract Norms ( System field, byte bytes, int offset ) : void
field System
bytes byte
offset int
return void
		public abstract void  Norms(System.String field, byte[] bytes, int offset);
		

Same methods

IndexReader::Norms ( System field ) : byte[]

Usage Example

			public override Scorer Scorer(IndexReader reader, bool scoreDocsInOrder, bool topScorer)
			{
				return new MatchAllScorer(enclosingInstance, reader, similarity, this, Enclosing_Instance.normsField != null?reader.Norms(Enclosing_Instance.normsField):null);
			}
All Usage Examples Of Lucene.Net.Index.IndexReader::Norms