Class FunctionQuery.FunctionWeight
Inheritance
System.Object
Lucene.Net.Search.Weight
FunctionQuery.FunctionWeight
Inherited Members
Lucene.Net.Search.Weight.ScoresDocsOutOfOrder
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Queries.Function
Assembly: Lucene.Net.Queries.dll
Syntax
protected class FunctionWeight : Weight
Constructors
| Improve this Doc View SourceFunctionWeight(FunctionQuery, IndexSearcher)
Declaration
public FunctionWeight(FunctionQuery outerInstance, IndexSearcher searcher)
Parameters
Type | Name | Description |
---|---|---|
FunctionQuery | outerInstance | |
Lucene.Net.Search.IndexSearcher | searcher |
Fields
| Improve this Doc View Sourcem_context
Declaration
protected readonly IDictionary m_context
Field Value
Type | Description |
---|---|
System.Collections.IDictionary |
m_queryNorm
Declaration
protected float m_queryNorm
Field Value
Type | Description |
---|---|
System.Single |
m_queryWeight
Declaration
protected float m_queryWeight
Field Value
Type | Description |
---|---|
System.Single |
m_searcher
Declaration
protected readonly IndexSearcher m_searcher
Field Value
Type | Description |
---|---|
Lucene.Net.Search.IndexSearcher |
Properties
| Improve this Doc View SourceQuery
Declaration
public override Query Query { get; }
Property Value
Type | Description |
---|---|
Lucene.Net.Search.Query |
Overrides
Lucene.Net.Search.Weight.Query
Methods
| Improve this Doc View SourceExplain(AtomicReaderContext, Int32)
Declaration
public override Explanation Explain(AtomicReaderContext ctx, int doc)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.AtomicReaderContext | ctx | |
System.Int32 | doc |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Explanation |
Overrides
| Improve this Doc View SourceGetScorer(AtomicReaderContext, IBits)
Declaration
public override Scorer GetScorer(AtomicReaderContext ctx, IBits acceptDocs)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Index.AtomicReaderContext | ctx | |
Lucene.Net.Util.IBits | acceptDocs |
Returns
Type | Description |
---|---|
Lucene.Net.Search.Scorer |
Overrides
Lucene.Net.Search.Weight.GetScorer(Lucene.Net.Index.AtomicReaderContext, Lucene.Net.Util.IBits)
|
Improve this Doc
View Source
GetValueForNormalization()
Declaration
public override float GetValueForNormalization()
Returns
Type | Description |
---|---|
System.Single |
Overrides
Lucene.Net.Search.Weight.GetValueForNormalization()
|
Improve this Doc
View Source
Normalize(Single, Single)
Declaration
public override void Normalize(float norm, float topLevelBoost)
Parameters
Type | Name | Description |
---|---|---|
System.Single | norm | |
System.Single | topLevelBoost |