Optional<Integer> lastIndexOf(String segment) {
            for (int i = segments.length - 1; i >= 0; --i) {
                if (segments[i].equalsIgnoreCase(segment)) {
                    return Optional.of(i);
                }
            }
            return Optional.empty();
        }
A dash in this key ensures it does not collide with feature names
model-evaluation/src/main/java/ai/vespa/models/handler/ModelsEvaluationHandler.java