C# 클래스 Lucene.Net.Search.Weight

파일 보기 프로젝트 열기: synhershko/lucene.net 1 사용 예제들

공개 메소드들

메소드 설명
Explain ( Lucene.Net.Index.IndexReader reader, int doc ) : Explanation

An explanation of the score computation for the named document.

Normalize ( float norm ) : void

Assigns the query normalization factor to this.

Scorer ( Lucene.Net.Index.IndexReader reader, bool scoreDocsInOrder, bool topScorer ) : Lucene.Net.Search.Scorer

Returns a Scorer which scores documents in/out-of order according to scoreDocsInOrder.

NOTE: even if scoreDocsInOrder is false, it is recommended to check whether the returned Scorer indeed scores documents out of order (i.e., call ScoresDocsOutOfOrder()), as some Scorer implementations will always return documents in-order.
NOTE: null can be returned if no documents will be scored by this query.

비공개 메소드들

메소드 설명
GetScoresDocsOutOfOrder ( ) : bool
GetSumOfSquaredWeights ( ) : float

메소드 상세

Explain() 공개 추상적인 메소드

An explanation of the score computation for the named document.
public abstract Explain ( Lucene.Net.Index.IndexReader reader, int doc ) : Explanation
reader Lucene.Net.Index.IndexReader sub-reader containing the give doc ///
doc int ///
리턴 Explanation

Normalize() 공개 추상적인 메소드

Assigns the query normalization factor to this.
public abstract Normalize ( float norm ) : void
norm float
리턴 void

Scorer() 공개 추상적인 메소드

Returns a Scorer which scores documents in/out-of order according to scoreDocsInOrder.

NOTE: even if scoreDocsInOrder is false, it is recommended to check whether the returned Scorer indeed scores documents out of order (i.e., call ScoresDocsOutOfOrder()), as some Scorer implementations will always return documents in-order.
NOTE: null can be returned if no documents will be scored by this query.

public abstract Scorer ( Lucene.Net.Index.IndexReader reader, bool scoreDocsInOrder, bool topScorer ) : Lucene.Net.Search.Scorer
reader Lucene.Net.Index.IndexReader /// the for which to return the . ///
scoreDocsInOrder bool specifies whether in-order scoring of documents is required. Note /// that if set to false (i.e., out-of-order scoring is required), /// this method can return whatever scoring mode it supports, as every /// in-order scorer is also an out-of-order one. However, an /// out-of-order scorer may not support /// and/or , therefore it is recommended to /// request an in-order scorer if use of these methods is required. ///
topScorer bool /// if true, will be called; if false, /// and/or will /// be called. ///
리턴 Lucene.Net.Search.Scorer