diff options
author | Jon Bratseth <bratseth@oath.com> | 2021-05-20 10:53:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 10:53:36 +0200 |
commit | ad936521af553e0278d9ceb3c47b328383f34806 (patch) | |
tree | 9da9f555385262760278ef5b886ba0f030c18080 /container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java | |
parent | 2dfbfeff81d2993ebfdf446a49da68be039763ea (diff) | |
parent | 378017c41fe1aa22252e2b6fe55363afd271c385 (diff) |
Merge pull request #17906 from vespa-engine/bratseth/query-profile-type-inheritance
Bratseth/query profile type inheritance
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java index 41272d695ac..34fe376150d 100644 --- a/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java +++ b/container-search/src/main/java/com/yahoo/search/query/profile/QueryProfileProperties.java @@ -117,7 +117,7 @@ public class QueryProfileProperties extends Properties { value = fieldDescription.getType().convertFrom(value, profile.getRegistry()); if (value == null) throw new IllegalInputException("'" + value + "' is not a " + - fieldDescription.getType().toInstanceDescription()); + fieldDescription.getType().toInstanceDescription()); } else if (fieldDescription.getType() instanceof QueryProfileFieldType) { // If a type is specified, use that instead of the type implied by the name |