private Optional<Symbol> findSymbolInConcreteScope(Symbol scope, SymbolType type, String shortIdentifier) {
        for (Symbol symbolDefinition : symbolDefinitions.get(type)) {
            if (!symbolDefinition.getShortIdentifier().equals(shortIdentifier)) continue;
            if (!scope.equals(symbolDefinition.getScope())) continue;
            return Optional.of(symbolDefinition);
        }
        return Optional.empty();
    }
Searches for symbols in the schema index that match the given symbol.

@return A list of symbols that match the given symbol.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/index/SchemaIndex.java