Lucene.Net.Search.Weight.Explain C# (CSharp) Method

Explain() public abstract method

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 ///
return Explanation
		public abstract Explanation Explain(IndexReader reader, int doc);

Usage Example

Beispiel #1
0
        public override Explanation Explain(Weight weight, int doc, IState state)
        {
            int n          = ReaderUtil.SubIndex(doc, docStarts);
            int deBasedDoc = doc - docStarts[n];

            return(weight.Explain(subReaders[n], deBasedDoc, state));
        }
All Usage Examples Of Lucene.Net.Search.Weight::Explain