public boolean getMatchAsPath() {
        if (isFrozen()) return matchAsPath;

        // Check if any of this or an inherited is true
        if (matchAsPath) return true;
        for (QueryProfileType inheritedType : inherited)
            if (inheritedType.getMatchAsPath()) return true;
        return false;
    }
Returns whether instances of this should be matched as path names. Default is false: Use exact name matching.
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileType.java