blob: 9ae24d6bfd44efc111a591c174e3ca5e3c2e2a37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema;
import com.yahoo.schema.document.SDField;
/**
* Convenience class for tests that need to set attribute properties on fields.
*/
public class AttributeUtils {
public static void addAttributeAspect(String schemaName, SDField field) {
field.parseIndexingScript(schemaName, "{ attribute }");
}
}
|