private CodeAction fixDeprecatedTokenSearch(EventCodeActionContext context, Diagnostic diagnostic) {
        CodeAction action = basicQuickFix("Change to schema", diagnostic);
        action.setEdit(CodeActionUtils.simpleEdit(context, diagnostic.getRange(), "schema"));
        action.setIsPreferred(true);
        return action;
    }
Provides quick fix for importing a field that is not an attribute.
@param context
@param diagnostic
@return A CodeAction that will set indexing to attribute for the original field.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/lsp/schema/codeaction/provider/QuickFixProvider.java