#pragma once

#include <kernel/search_types/search_types.h>
#include <util/generic/maybe.h>

//
// TRTYRankingOpts: the flags here are determined at the latest possible moment (in PreInitRequest). Their role is similiar to RP.FactorsMask
//
struct TRTYRankingOpts {
    //TODO(SAAS-5969): remove ReplaceAnnCalcer variable (fix as 'true') after Ann.UseExternalCalcer is set to true in all SaaS services with ANN
    bool ReplaceAnnCalcer = false;
    bool UseRegionChain = false;
    TMaybe<TCateg> AnnRelevRegion;
    TMaybe<TCateg> TmRelevCountry;
    ui32 FactorAnnHitsLimit;
};
