Sets the key of the record search of the navigation query using a specified relevance ranking strategy.

Namespace: Endeca.Navigation
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)

Syntax

C#
public virtual void SetNrk(
	string key
)
Visual Basic
Public Overridable Sub SetNrk ( _
	key As String _
)
Visual C++
public:
virtual void SetNrk(
	String^ key
)

Parameters

key
Type: System..::..String
The url decoded key to be used for relevance ranking.
CopyC#
key
should not contain any '|' characters.

Remarks

The Nrk parameter MUST be used with the Nrt parameter indicating the search term and the Nrr parameter indicating the relevance ranking strategy to be used.

Exceptions

ExceptionCondition
Endeca.Navigation..::..UrlENEQueryParseException Thrown if problem parsing or pairing up with search terms.

See Also