Class BooleanQuery.BooleanWeight
Expert: the Weight for BooleanQuery, used to
normalize, score and explain these queries.
Note
This API is experimental and might change in incompatible ways in the next release.
Inheritance
System.Object
BooleanQuery.BooleanWeight
Inherited Members
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()
Assembly: Lucene.Net.dll
Syntax
public class BooleanWeight : Weight
Constructors
|
Improve this Doc
View Source
BooleanWeight(BooleanQuery, IndexSearcher, Boolean)
Declaration
public BooleanWeight(BooleanQuery outerInstance, IndexSearcher searcher, bool disableCoord)
Parameters
Fields
|
Improve this Doc
View Source
m_maxCoord
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
m_similarity
Declaration
protected Similarity m_similarity
Field Value
|
Improve this Doc
View Source
m_weights
Declaration
protected IList<Weight> m_weights
Field Value
Type |
Description |
System.Collections.Generic.IList<Weight> |
|
Properties
|
Improve this Doc
View Source
MaxCoord
Declaration
public int MaxCoord { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Query
Declaration
public override Query Query { get; }
Property Value
Overrides
|
Improve this Doc
View Source
ScoresDocsOutOfOrder
Declaration
public override bool ScoresDocsOutOfOrder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Similarity
Declaration
public Similarity Similarity { get; }
Property Value
Methods
|
Improve this Doc
View Source
Coord(Int32, Int32)
Declaration
public virtual float Coord(int overlap, int maxOverlap)
Parameters
Type |
Name |
Description |
System.Int32 |
overlap |
|
System.Int32 |
maxOverlap |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Explain(AtomicReaderContext, Int32)
Declaration
public override Explanation Explain(AtomicReaderContext context, int doc)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetBulkScorer(AtomicReaderContext, Boolean, IBits)
Declaration
public override BulkScorer GetBulkScorer(AtomicReaderContext context, bool scoreDocsInOrder, IBits acceptDocs)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetScorer(AtomicReaderContext, IBits)
Declaration
public override Scorer GetScorer(AtomicReaderContext context, IBits acceptDocs)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetValueForNormalization()
Declaration
public override float GetValueForNormalization()
Returns
Type |
Description |
System.Single |
|
Overrides
|
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 |
|
Overrides