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

Norms() public abstract method

Returns 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[]
field System
return byte[]
		public abstract byte[] Norms(System.String field);
		

Same methods

IndexReader::Norms ( System field, byte bytes, int offset ) : void

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