Property RequireHybridSearch
RequireHybridSearch
Turn PreferHybridSearch's silent fallback into a refusal. Default false, which is the advisory behaviour: a collection with no keyword lane takes the vector lane and nothing is thrown.
true throws RagCollectionNotSearchable (7203)
when the collection does not implement IKeywordHybridSearchable<TRecord> - and
it is the only raise site for that code in the suite. Note what it does not do: a
hybrid-capable collection asked a question that produced no keywords still takes the
vector lane without error. The option is about the collection's capability, which is static;
it is not about whether one particular question survived the stop list, which is not.
public bool RequireHybridSearch { get; set; }