Merge main into multi-project

This commit is contained in:
Tim Vernum 2024-10-25 13:36:22 +11:00
commit fd55e00fa7
212 changed files with 4120 additions and 2405 deletions

View file

@ -83,7 +83,7 @@ public final class RRFRetrieverBuilder extends CompoundRetrieverBuilder<RRFRetri
throw new ParsingException(parser.getTokenLocation(), "unknown retriever [" + NAME + "]");
}
if (context.clusterSupportsFeature(RRF_RETRIEVER_COMPOSITION_SUPPORTED) == false) {
throw new UnsupportedOperationException("[rrf] retriever composition feature is not supported by all nodes in the cluster");
throw new IllegalArgumentException("[rrf] retriever composition feature is not supported by all nodes in the cluster");
}
if (RRFRankPlugin.RANK_RRF_FEATURE.check(XPackPlugin.getSharedLicenseState()) == false) {
throw LicenseUtils.newComplianceException("Reciprocal Rank Fusion (RRF)");