Class MultiSimilarity
Implements the CombSUM method for combining evidence from multiple
similarity values described in: Joseph A. Shaw, Edward A. Fox.
In Text REtrieval Conference (1993), pp. 243-252
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inheritance
System.Object
MultiSimilarity
Assembly: Lucene.Net.dll
Syntax
public class MultiSimilarity : Similarity
Constructors
|
Improve this Doc
View Source
MultiSimilarity(Similarity[])
Declaration
public MultiSimilarity(Similarity[] sims)
Parameters
Fields
|
Improve this Doc
View Source
m_sims
the sub-similarities used to create the combined score
Declaration
protected readonly Similarity[] m_sims
Field Value
Methods
|
Improve this Doc
View Source
ComputeNorm(FieldInvertState)
Declaration
public override long ComputeNorm(FieldInvertState state)
Parameters
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
ComputeWeight(Single, CollectionStatistics, TermStatistics[])
Declaration
public override Similarity.SimWeight ComputeWeight(float queryBoost, CollectionStatistics collectionStats, params TermStatistics[] termStats)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetSimScorer(Similarity.SimWeight, AtomicReaderContext)
Declaration
public override Similarity.SimScorer GetSimScorer(Similarity.SimWeight stats, AtomicReaderContext context)
Parameters
Returns
Overrides