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