SearchValence

References
public readonly struct SearchValence
A struct holding search relevance valence information for a Nomen.

Constructors

SearchValence

#
public SearchValence(int initials, int name, int info, int rank)
Create a new search valence.
initials (int)
name (int)
info (int)
rank (int)

Properties

InfoValence

#
public int InfoValence { get; }
Gets the search valence as compared against the Nomen.Info Higher values indicate more relevant results.

InitialsValence

#
public int InitialsValence { get; }
Gets the search valence as compared against the initials of the Nomen.Name. Higher values indicate more relevant results.

NameValence

#
public int NameValence { get; }
Gets the search valence as compared against the Nomen.Name. Higher values indicate more relevant results.

RankValence

#
public int RankValence { get; }
Gets the valence modifier due to the rank.

Valence

#
public int Valence { get; }
Gets the final valence of this result. This is a combination of name, info and initials valences.