aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java')
-rw-r--r--config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java b/config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java
index 049f5392c04..8b523211471 100644
--- a/config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java
+++ b/config-model/src/main/java/com/yahoo/searchdefinition/document/SDField.java
@@ -83,9 +83,6 @@ public class SDField extends Field implements TypedKey, FieldOperationContainer,
/** The explicitly index settings on this field */
private Map<String, Index> indices = new java.util.LinkedHashMap<>();
- /** True if body or header is set explicitly for this field */
- private boolean headerOrBodyDefined = false;
-
private boolean idOverride = false;
/** Struct fields defined in this field */
@@ -426,7 +423,7 @@ public class SDField extends Field implements TypedKey, FieldOperationContainer,
/** Parse an indexing expression which will use the simple linguistics implementatino suitable for testing */
@SuppressWarnings("deprecation")
public void parseIndexingScript(String script) {
- parseIndexingScript(script, new SimpleLinguistics(false));
+ parseIndexingScript(script, new SimpleLinguistics());
}
public void parseIndexingScript(String script, Linguistics linguistics) {
@@ -769,15 +766,6 @@ public class SDField extends Field implements TypedKey, FieldOperationContainer,
return queryCommands;
}
-
- public boolean isHeaderOrBodyDefined() {
- return headerOrBodyDefined;
- }
-
- public void setHeaderOrBodyDefined(boolean headerOrBodySetExplicitly) {
- this.headerOrBodyDefined = headerOrBodySetExplicitly;
- }
-
/**
* The document that this field was declared in, or null
*