public static final IndexField DETAILS = addSearchable(IndexField.Type.OBJECT, "details");
public static final IndexField MESSAGE = addSearchable(IndexField.Type.STRING, "message");
- public static final Set<IndexField> ALL_FIELDS = getAllFields();
+ public static Set<IndexField> ALL_FIELDS = getAllFields();
private static final Set<IndexField> getAllFields() {
Set<IndexField> fields = new HashSet<IndexField>();
public static final IndexField PARENT_KEY = add(IndexField.Type.STRING, "parentKey");
public static final IndexField RULE_KEY = add(IndexField.Type.STRING, "ruleKey");
public static final IndexField PARAMS = addEmbedded("params", ActiveRuleParamField.ALL_FIELDS);
- public static final Set<IndexField> ALL_FIELDS = getAllFields();
+
+ public static Set<IndexField> ALL_FIELDS = getAllFields();
private static Set<IndexField> getAllFields() {
Set<IndexField> fields = new HashSet<IndexField>();
public static final IndexField TYPE = add(IndexField.Type.STRING, "type");
public static final IndexField DESCRIPTION = addSearchable(IndexField.Type.TEXT, "description");
public static final IndexField DEFAULT_VALUE = add(IndexField.Type.STRING, "defaultValue");
- public static final Set<IndexField> ALL_FIELDS = getAllFields();
+
+ public static Set<IndexField> ALL_FIELDS = getAllFields();
private static final Set<IndexField> getAllFields() {
Set<IndexField> fields = new HashSet<IndexField>();