Lucene.Net 1.9.1 Class Library

DefaultSimilarity Members

DefaultSimilarity overview

Public Instance Constructors

DefaultSimilarity Constructor Initializes a new instance of the DefaultSimilarity class.

Public Instance Methods

CoordImplemented as
overlap / maxOverlap
.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
IdfOverloaded. Implemented as
log(numDocs/(docFreq+1)) + 1
.
Idf (inherited from Similarity)Overloaded.  
LengthNormImplemented as
1/sqrt(numTerms)
.
QueryNormImplemented as
1/sqrt(sumOfSquaredWeights)
.
SloppyFreqImplemented as
1 / (distance + 1)
.
TfOverloaded. Implemented as
sqrt(freq)
.
Tf (inherited from Similarity)Overloaded.  
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DefaultSimilarity Class | Lucene.Net.Search Namespace