(index) Give BODY matches a verbatim match value

This commit is contained in:
Viktor Lofgren 2024-08-10 10:22:19 +02:00
parent b730b17f52
commit e4f04af044

View File

@ -417,6 +417,7 @@ public class IndexResultScoreCalculator {
case NAV -> 0.1f;
case CODE -> 0.25f;
case EXTERNAL_LINKTEXT -> 1.0f;
case BODY -> 1.0f;
default -> 0.0f;
};
}