Public namespace Rowles.LeanCorpus.Search.Ranking

Classes

Public class FilterQueryRuleAction
Public class MaximumMarginalRelevance

Bounded Maximum Marginal Relevance final selection.

Public class MmrSelection

Explains one deterministic MMR selection.

Public class NullRankingFeatureSink

No-op feature sink used when feature logging is disabled.

Public class PinQueryRuleAction
Public class QueryRescorerStage

Uses the existing bounded query rescorer as a pipeline stage.

Public class QueryRule

One deterministic rule evaluated before candidate retrieval.

Public class QueryRuleAction
Public class QueryRuleMatch

Declarative rule conditions. Exact text identity is deliberately not analysed text.

Public class QueryRuleSet

Bounded immutable rule collection. Matching is request-scoped, never document-scoped.

Public class RankingFeature

A privacy-safe feature value attached to a bounded ranking candidate.

Public class RankingFeatureRecord

A bounded feature record. Identifiers must be application-provided surrogates.

Public class RankingMetricResult

Aggregate metrics for a ranked query result.

Public class RankingMetrics

Calculates deterministic, judgement-aware information-retrieval metrics.

Public class RankingPipeline

Immutable ordered plan for bounded relevance processing.

Public class RankingProfile

Immutable relevance settings resolved before a request is executed.

Public class RankingRequestContext

Exact request identity and trusted, application-supplied matching context.

Public class RankingSearchRequest

A complete immutable request for profile-based search.

Public class RankingSearchResult

Profile-based results, including cache and cursor compatibility identity.

Public class RankingStage

Base type for a bounded, immutable ranking stage.

Public class RelevanceJudgement

A graded relevance judgement supplied by an application-owned evaluation set.

Public class ScoreFunctionStage

Applies a numeric value source to a bounded candidate window.

Public class ScoreQueryRuleAction

Interfaces

Public interface IRankingFeatureSink

Receives feature records away from the scoring path.

Enums

Public enum MissingSimilarityPolicy

Fallback behaviour when novelty cannot be calculated for a candidate pair.

Public enum RankingScoreCombination

How a numeric or reranker score combines with the current score.

Public enum UnjudgedDocumentPolicy

Controls how unjudged documents contribute to offline metrics.