Represents sorting by computed relevance. Using this sort criteria returns the same results as calling {@link Searcher#Search(Query) Searcher#search()}without a sort criteria, only with slightly more overhead.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static readonly Sort RELEVANCE
Visual Basic
Public Shared ReadOnly RELEVANCE As Sort
Visual C++
public:
static initonly Sort^ RELEVANCE

See Also